diff --git a/CHANGELOG.md b/CHANGELOG.md index e8b1061390..12938f5028 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.112.0 - 2025-07-01 +### Added +- Support for calling Oracle Cloud Infrastructure services in the us-ashburn-2 region +- Support for the Database MultiCloud service +- Support for System Tags in the Database service +- Support for PKCS11 Library Integration for Azure Key Store in the Database service +- Support for changing subscription ID and the opc-dry-run parameter in the Database service +- Support for listing all members of an Elastic Resource Pool for a provided Elastic Resource Pool leader in the Database service +- Support for managing scheduled queries in the Application Performance Monitoring service +- Support for Bring Your Own Key (BYOK) in the MySQL Heatwave service +- Support for customer-initiated collection of diagnostic information in the Database Migration service + +### Breaking Changes +- The type of field `state` has been changed from string to `AutoActivateToggleStatus.State` and `AutoActivateStatus.State` respectively in the models `AutoActivateToggleStatus` and `AutoActivateStatus` in the Application Performance Monitoring service + ## 2.111.3 - 2025-06-24 ### Added - Support for database backups to Amazon S3 as default option for all databases running on Exa@AWS in the Database service diff --git a/examples/javascript/http-proxy.js b/examples/javascript/http-proxy.js new file mode 100644 index 0000000000..53b626e403 --- /dev/null +++ b/examples/javascript/http-proxy.js @@ -0,0 +1,40 @@ +/** + * Copyright (c) 2020, 2025 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. + + * This example shows how to configure http proxy for the SDK client + */ + +const identity = require("oci-identity"); +const common = require("oci-common"); +// make sure https-proxy-agent is installed +const { HttpsProxyAgent } = require("https-proxy-agent"); +// if you're facing issues with Node 18+, please check https://github.com/gajus/global-agent/issues/52#issuecomment-1134525621 +// or set the --no-experimental-fetch flag + +const provider = new common.ConfigFileAuthenticationDetailsProvider(); +const tenancyId = provider.getTenantId(); + +const proxyUrl = "http://testproxy"; +const clientConfig = { httpOptions: { agent: new HttpsProxyAgent(proxyUrl) } }; +const identityClient = new identity.IdentityClient( + { authenticationDetailsProvider: provider }, + clientConfig +); + +async function getAvailabilityDomain() { + const request = { + compartmentId: tenancyId + }; + const response = await identityClient.listAvailabilityDomains(request); + return response.items[0]; +} + +(async () => { + try { + const availabilityDomain = await getAvailabilityDomain(); + console.log("Availability Domain :" + availabilityDomain.name); + } catch (error) { + console.log("Error executing example" + error); + } +})(); diff --git a/examples/typescript/http-proxy.ts b/examples/typescript/http-proxy.ts new file mode 100644 index 0000000000..8df4f4af53 --- /dev/null +++ b/examples/typescript/http-proxy.ts @@ -0,0 +1,44 @@ +/** + * Copyright (c) 2020, 2025 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. + + * This example shows how to configure http proxy for the SDK client + */ + +import common = require("oci-common"); +import * as identity from "oci-identity"; +// make sure https-proxy-agent is installed +const { HttpsProxyAgent } = require("https-proxy-agent"); +// if you're facing issues with Node 18+, please check https://github.com/gajus/global-agent/issues/52#issuecomment-1134525621 +// or set the --no-experimental-fetch flag + +const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider(); + +const proxyUrl = "http://testproxy"; +const clientConfig = { httpOptions: { agent: new HttpsProxyAgent(proxyUrl) } }; +const identityClient = new identity.IdentityClient( + { authenticationDetailsProvider: provider }, + clientConfig +); +const compartmentId = provider.getTenantId(); + +async function getAvailabilityDomain(): Promise { + const request: identity.requests.ListAvailabilityDomainsRequest = { + compartmentId: compartmentId + }; + const response = await identityClient.listAvailabilityDomains(request); + return response.items[0]; +} + +(async () => { + try { + const availabilityDomain = await getAvailabilityDomain(); + console.log("Availability Domain :" + availabilityDomain.name); + } catch (error) { + console.log("Error executing example" + JSON.stringify(error)); + } finally { + console.debug("DONE"); + } + + identityClient.close(); +})(); diff --git a/index.ts b/index.ts index fc74e18385..39475ec22d 100755 --- a/index.ts +++ b/index.ts @@ -238,3 +238,4 @@ export import modeldeployment = require("oci-modeldeployment"); export import distributeddatabase = require("oci-distributeddatabase"); export import apiaccesscontrol = require("oci-apiaccesscontrol"); export import wlms = require("oci-wlms"); +export import dbmulticloud = require("oci-dbmulticloud"); diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index be5d7c72f1..beb2cb430a 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Access Governance Cp Service", "repository": { "type": "git", diff --git a/lib/adm/package.json b/lib/adm/package.json index a65afa1e17..561d70ec3d 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aianomalydetection/package.json b/lib/aianomalydetection/package.json index 218d3a196f..cdb241f8e6 100644 --- a/lib/aianomalydetection/package.json +++ b/lib/aianomalydetection/package.json @@ -1,6 +1,6 @@ { "name": "oci-aianomalydetection", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ai Anomaly Detection Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 44d883e4c9..1907268bad 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index e128314956..8f952e470c 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index a06f6e0e23..d3f2974114 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index 46588f4af2..b56c281e7f 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index 6190d91610..b98954eb9d 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index c29bb49fe4..18e5d06625 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index badcaa7a0c..32a525ac0c 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index af2a8984e5..ca0b70c8d4 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index fa449683ee..5ec74c0848 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 4bf0d59cec..ad2587eabf 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Apm Control Plane Service", "repository": { "type": "git", diff --git a/lib/apmsynthetics/package.json b/lib/apmsynthetics/package.json index df3d2681da..ee8d93db46 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/index.ts b/lib/apmtraces/index.ts index 0d31d99613..c526ec2b34 100644 --- a/lib/apmtraces/index.ts +++ b/lib/apmtraces/index.ts @@ -16,10 +16,13 @@ import * as requests from "./lib/request"; import * as models from "./lib/model"; import * as responses from "./lib/response"; import * as client from "./lib/client"; +import * as scheduledquery_waiter from "./lib/scheduledquery-waiter"; export { models }; export { requests }; export { responses }; export import AttributesClient = client.AttributesClient; export import QueryClient = client.QueryClient; +export import ScheduledQueryClient = client.ScheduledQueryClient; +export import ScheduledQueryWaiter = scheduledquery_waiter.ScheduledQueryWaiter; export import TraceClient = client.TraceClient; diff --git a/lib/apmtraces/lib/client.ts b/lib/apmtraces/lib/client.ts index 5c7e1281a3..0d737314a2 100644 --- a/lib/apmtraces/lib/client.ts +++ b/lib/apmtraces/lib/client.ts @@ -17,6 +17,7 @@ import * as requests from "./request"; import * as model from "./model"; import * as responses from "./response"; import { paginateRecords, paginateResponses } from "oci-common"; +import { ScheduledQueryWaiter } from "./scheduledquery-waiter"; import { composeResponse, composeRequest, @@ -214,9 +215,9 @@ export class AttributesClient { } /** - * Activates a set of attributes for the given APM Domain. The API is not case-sensitive. Any duplicates present in the bulk activation + * Activates a set of attributes for the given APM Domain. Attribute names are not case-sensitive. Any duplicates present in the bulk activation * request are deduplicated and only unique attributes are activated. A maximum number of 700 string attributes and 100 numeric attributes - * can be activated in an APM Domain subject to the available string and numeric slots. Once an attribute has been activated, it may take sometime + * can be activated in an APM Domain subject to the available string and numeric slots. Once an attribute has been activated, it may take some time * for it to be appear in searches as ingest might not have picked up the changes or any associated caches might not have refreshed. The * bulk activation operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they * get a success status back. If the processing of any attribute results in a processing or validation error, then none of the attributes in the bulk @@ -297,10 +298,10 @@ export class AttributesClient { } /** - * Deactivates a set of attributes for the given APM Domain. The API is case in-sensitive. Any duplicates present in the bulk deactivation + * Deactivates a set of attributes for the given APM Domain. Attribute names are not case-sensitive. Any duplicates present in the bulk deactivation * request are deduplicated and only unique attributes are deactivated. A maximum number of 700 string attributes and 100 numeric attributes * can be deactivated in an APM Domain subject to the available string and numeric slots. Out of box attributes (Trace and Span) cannot be - * deactivated, and will result in a processing error. Once an attribute has been deactivated, it may take sometime for it to disappear in + * deactivated, and will result in a processing error. Once an attribute has been deactivated, it may take some time for it to disappear in * searches as ingest might not have picked up the changes or any associated caches might not have refreshed. The bulk deactivation * operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they get a success * status back. If the processing of any attribute results in a processing or validation error, then none of the attributes in the bulk request @@ -1253,6 +1254,624 @@ export class QueryClient { } } } +export enum ScheduledQueryApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class ScheduledQueryClient { + protected static serviceEndpointTemplate = "https://apm-trace.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": ScheduledQueryWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "ScheduledQuery"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("apmtraces")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("apmtraces"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20200630"; + if (this.logger) this.logger.info(`ScheduledQueryClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + ScheduledQueryClient.serviceEndpointTemplate, + this._region, + ScheduledQueryClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + ScheduledQueryClient.serviceEndpointTemplate, + this._regionId, + ScheduledQueryClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + ScheduledQueryClient.serviceEndpointTemplate, + region, + ScheduledQueryClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + ScheduledQueryClient.serviceEndpointTemplate, + regionId, + ScheduledQueryClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new ScheduledQueryWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): ScheduledQueryWaiter { + this._waiters = new ScheduledQueryWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): ScheduledQueryWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Create a scheduled query in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param CreateScheduledQueryRequest + * @return CreateScheduledQueryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/CreateScheduledQuery.ts.html |here} to see how to use CreateScheduledQuery API. + */ + public async createScheduledQuery( + createScheduledQueryRequest: requests.CreateScheduledQueryRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ScheduledQueryClient#createScheduledQuery."); + const operationName = "createScheduledQuery"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/ScheduledQuery/CreateScheduledQuery"; + const pathParams = {}; + + const queryParams = { + "apmDomainId": createScheduledQueryRequest.apmDomainId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": createScheduledQueryRequest.opcRequestId, + "opc-retry-token": createScheduledQueryRequest.opcRetryToken, + "opc-dry-run": createScheduledQueryRequest.opcDryRun + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createScheduledQueryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/scheduledQueries", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createScheduledQueryRequest.createScheduledQueryDetails, + "CreateScheduledQueryDetails", + model.CreateScheduledQueryDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "scheduledQuery", + bodyModel: model.ScheduledQuery, + type: "model.ScheduledQuery", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete a scheduled query in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param DeleteScheduledQueryRequest + * @return DeleteScheduledQueryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/DeleteScheduledQuery.ts.html |here} to see how to use DeleteScheduledQuery API. + */ + public async deleteScheduledQuery( + deleteScheduledQueryRequest: requests.DeleteScheduledQueryRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ScheduledQueryClient#deleteScheduledQuery."); + const operationName = "deleteScheduledQuery"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/ScheduledQuery/DeleteScheduledQuery"; + const pathParams = { + "{scheduledQueryId}": deleteScheduledQueryRequest.scheduledQueryId + }; + + const queryParams = { + "apmDomainId": deleteScheduledQueryRequest.apmDomainId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": deleteScheduledQueryRequest.opcRequestId, + "if-match": deleteScheduledQueryRequest.ifMatch, + "opc-retry-token": deleteScheduledQueryRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteScheduledQueryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/scheduledQueries/{scheduledQueryId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve a scheduled query in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param GetScheduledQueryRequest + * @return GetScheduledQueryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetScheduledQuery.ts.html |here} to see how to use GetScheduledQuery API. + */ + public async getScheduledQuery( + getScheduledQueryRequest: requests.GetScheduledQueryRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation ScheduledQueryClient#getScheduledQuery."); + const operationName = "getScheduledQuery"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/ScheduledQuery/GetScheduledQuery"; + const pathParams = { + "{scheduledQueryId}": getScheduledQueryRequest.scheduledQueryId + }; + + const queryParams = { + "apmDomainId": getScheduledQueryRequest.apmDomainId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getScheduledQueryRequest.opcRequestId, + "opc-retry-token": getScheduledQueryRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getScheduledQueryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/scheduledQueries/{scheduledQueryId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "scheduledQuery", + bodyModel: model.ScheduledQuery, + type: "model.ScheduledQuery", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all scheduled queries in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListScheduledQueriesRequest + * @return ListScheduledQueriesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/ListScheduledQueries.ts.html |here} to see how to use ListScheduledQueries API. + */ + public async listScheduledQueries( + listScheduledQueriesRequest: requests.ListScheduledQueriesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ScheduledQueryClient#listScheduledQueries."); + const operationName = "listScheduledQueries"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/ScheduledQueryCollection/ListScheduledQueries"; + const pathParams = {}; + + const queryParams = { + "apmDomainId": listScheduledQueriesRequest.apmDomainId, + "limit": listScheduledQueriesRequest.limit, + "page": listScheduledQueriesRequest.page, + "displayName": listScheduledQueriesRequest.displayName, + "sortOrder": listScheduledQueriesRequest.sortOrder, + "sortBy": listScheduledQueriesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listScheduledQueriesRequest.opcRequestId, + "opc-retry-token": listScheduledQueriesRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listScheduledQueriesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/scheduledQueries", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "scheduledQueryCollection", + bodyModel: model.ScheduledQueryCollection, + type: "model.ScheduledQueryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Update a scheduled query in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param UpdateScheduledQueryRequest + * @return UpdateScheduledQueryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/UpdateScheduledQuery.ts.html |here} to see how to use UpdateScheduledQuery API. + */ + public async updateScheduledQuery( + updateScheduledQueryRequest: requests.UpdateScheduledQueryRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ScheduledQueryClient#updateScheduledQuery."); + const operationName = "updateScheduledQuery"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/ScheduledQuery/UpdateScheduledQuery"; + const pathParams = { + "{scheduledQueryId}": updateScheduledQueryRequest.scheduledQueryId + }; + + const queryParams = { + "apmDomainId": updateScheduledQueryRequest.apmDomainId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateScheduledQueryRequest.ifMatch, + "opc-request-id": updateScheduledQueryRequest.opcRequestId, + "opc-retry-token": updateScheduledQueryRequest.opcRetryToken, + "opc-dry-run": updateScheduledQueryRequest.opcDryRun + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateScheduledQueryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/scheduledQueries/{scheduledQueryId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateScheduledQueryRequest.updateScheduledQueryDetails, + "UpdateScheduledQueryDetails", + model.UpdateScheduledQueryDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "scheduledQuery", + bodyModel: model.ScheduledQuery, + type: "model.ScheduledQuery", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} export enum TraceApiKeys {} /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. @@ -1515,6 +2134,86 @@ export class TraceClient { } } + /** + * Retrieve a log in the APM Domain. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param GetLogRequest + * @return GetLogResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetLog.ts.html |here} to see how to use GetLog API. + */ + public async getLog(getLogRequest: requests.GetLogRequest): Promise { + if (this.logger) this.logger.debug("Calling operation TraceClient#getLog."); + const operationName = "getLog"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/Log/GetLog"; + const pathParams = { + "{logKey}": getLogRequest.logKey + }; + + const queryParams = { + "apmDomainId": getLogRequest.apmDomainId, + "timeLogStartedGreaterThanOrEqualTo": getLogRequest.timeLogStartedGreaterThanOrEqualTo, + "timeLogEndedLessThan": getLogRequest.timeLogEndedLessThan + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getLogRequest.opcRequestId, + "opc-retry-token": getLogRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getLogRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/logs/{logKey}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "log", + bodyModel: model.Log, + type: "model.Log", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets the span details identified by spanId. * diff --git a/lib/apmtraces/lib/model/attribute-metadata.ts b/lib/apmtraces/lib/model/attribute-metadata.ts new file mode 100644 index 0000000000..b3fd42ca24 --- /dev/null +++ b/lib/apmtraces/lib/model/attribute-metadata.ts @@ -0,0 +1,70 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of the attribute metadata. + * + */ +export interface AttributeMetadata { + /** + * Type associated with the attribute key. + * + */ + "attributeType"?: AttributeMetadata.AttributeType; + /** + * Unit associated with the attribute key. If unit is not specified, it defaults to NONE. + * + */ + "attributeUnit"?: AttributeMetadata.AttributeUnit; +} + +export namespace AttributeMetadata { + export enum AttributeType { + String = "STRING", + Numeric = "NUMERIC", + /** + * 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" + } + + export enum AttributeUnit { + EpochTimeMs = "EPOCH_TIME_MS", + Bytes = "BYTES", + Count = "COUNT", + DurationMs = "DURATION_MS", + Percentage = "PERCENTAGE", + None = "NONE", + /** + * 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" + } + + export function getJsonObj(obj: AttributeMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AttributeMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/attribute-response.ts b/lib/apmtraces/lib/model/attribute-response.ts index 636fafd216..d69261117f 100644 --- a/lib/apmtraces/lib/model/attribute-response.ts +++ b/lib/apmtraces/lib/model/attribute-response.ts @@ -31,7 +31,7 @@ export interface AttributeResponse { */ "attributeType": AttributeResponse.AttributeType; /** - * Unit of the attribute. + * Unit of the attribute. If unit is not specified, it defaults to NONE. * */ "unit"?: AttributeResponse.Unit; diff --git a/lib/apmtraces/lib/model/attribute-update-response.ts b/lib/apmtraces/lib/model/attribute-update-response.ts index 981cdcc0d1..c76a866974 100644 --- a/lib/apmtraces/lib/model/attribute-update-response.ts +++ b/lib/apmtraces/lib/model/attribute-update-response.ts @@ -31,7 +31,7 @@ export interface AttributeUpdateResponse { */ "attributeType"?: AttributeUpdateResponse.AttributeType; /** - * Unit updated for this attribute. + * Unit updated for this attribute. If unit is not specified, it defaults to NONE. * */ "unit"?: AttributeUpdateResponse.Unit; diff --git a/lib/apmtraces/lib/model/attribute.ts b/lib/apmtraces/lib/model/attribute.ts new file mode 100644 index 0000000000..023197fbae --- /dev/null +++ b/lib/apmtraces/lib/model/attribute.ts @@ -0,0 +1,46 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of an attribute which is a key-value pair. + * + */ +export interface Attribute { + /** + * Key that specifies the attribute name. + * + */ + "attributeName": string; + /** + * Value associated with the attribute key. + * + */ + "attributeValue": string; +} + +export namespace Attribute { + export function getJsonObj(obj: Attribute): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Attribute): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/auto-activate-status.ts b/lib/apmtraces/lib/model/auto-activate-status.ts index e673b18d21..e836d77f44 100644 --- a/lib/apmtraces/lib/model/auto-activate-status.ts +++ b/lib/apmtraces/lib/model/auto-activate-status.ts @@ -24,7 +24,7 @@ export interface AutoActivateStatus { * State of autoactivation in this APM Domain. If \"ON\" auto-activate is set to true, if \"OFF\" auto-activate is set to false. * */ - "state": string; + "state": AutoActivateStatus.State; /** * Data key type for which auto-activate needs needs to be turned on or off. * @@ -33,6 +33,16 @@ export interface AutoActivateStatus { } export namespace AutoActivateStatus { + export enum State { + On = "ON", + Off = "OFF", + /** + * 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" + } + export enum DataKey { PrivateDataKey = "PRIVATE_DATA_KEY", PublicDataKey = "PUBLIC_DATA_KEY", diff --git a/lib/apmtraces/lib/model/auto-activate-toggle-status.ts b/lib/apmtraces/lib/model/auto-activate-toggle-status.ts index 33ad619739..b28e1fd633 100644 --- a/lib/apmtraces/lib/model/auto-activate-toggle-status.ts +++ b/lib/apmtraces/lib/model/auto-activate-toggle-status.ts @@ -29,7 +29,7 @@ export interface AutoActivateToggleStatus { * State of autoactivation in this APM Domain. If \"ON\" auto-activate is set to true, if \"OFF\" auto-activate is set to false. * */ - "state": string; + "state": AutoActivateToggleStatus.State; /** * Data key type for which auto-activate needs needs to be turned on or off. * @@ -47,6 +47,16 @@ export namespace AutoActivateToggleStatus { UnknownValue = "UNKNOWN_VALUE" } + export enum State { + On = "ON", + Off = "OFF", + /** + * 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" + } + export enum DataKey { PrivateDataKey = "PRIVATE_DATA_KEY", PublicDataKey = "PUBLIC_DATA_KEY", diff --git a/lib/apmtraces/lib/model/bulk-activate-attribute-detail.ts b/lib/apmtraces/lib/model/bulk-activate-attribute-detail.ts index 2f949f5ceb..ce0d3570ae 100644 --- a/lib/apmtraces/lib/model/bulk-activate-attribute-detail.ts +++ b/lib/apmtraces/lib/model/bulk-activate-attribute-detail.ts @@ -32,7 +32,12 @@ export interface BulkActivateAttributeDetail { */ "attributeType": BulkActivateAttributeDetail.AttributeType; /** - * Unit of the attribute to be updated. + * Attribute expression if this attribute is an alias + * + */ + "attributeExpression"?: string; + /** + * Unit of the attribute to be updated. If unit is not specified, it defaults to NONE. * */ "unit"?: BulkActivateAttributeDetail.Unit; @@ -47,7 +52,8 @@ export interface BulkActivateAttributeDetail { export namespace BulkActivateAttributeDetail { export enum AttributeType { Numeric = "NUMERIC", - String = "STRING" + String = "STRING", + None = "NONE" } export enum Unit { @@ -62,7 +68,8 @@ export namespace BulkActivateAttributeDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkActivateAttributeDetail): object { diff --git a/lib/apmtraces/lib/model/bulk-de-activate-attribute-detail.ts b/lib/apmtraces/lib/model/bulk-de-activate-attribute-detail.ts index 25203aeb73..a41f70641c 100644 --- a/lib/apmtraces/lib/model/bulk-de-activate-attribute-detail.ts +++ b/lib/apmtraces/lib/model/bulk-de-activate-attribute-detail.ts @@ -36,7 +36,8 @@ export interface BulkDeActivateAttributeDetail { export namespace BulkDeActivateAttributeDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkDeActivateAttributeDetail): object { diff --git a/lib/apmtraces/lib/model/bulk-pin-attribute-detail.ts b/lib/apmtraces/lib/model/bulk-pin-attribute-detail.ts index 4757cdfad6..cd6b2c146a 100644 --- a/lib/apmtraces/lib/model/bulk-pin-attribute-detail.ts +++ b/lib/apmtraces/lib/model/bulk-pin-attribute-detail.ts @@ -36,7 +36,8 @@ export interface BulkPinAttributeDetail { export namespace BulkPinAttributeDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkPinAttributeDetail): object { diff --git a/lib/apmtraces/lib/model/bulk-unpin-attribute-detail.ts b/lib/apmtraces/lib/model/bulk-unpin-attribute-detail.ts index 02bd9d26ce..d775b85677 100644 --- a/lib/apmtraces/lib/model/bulk-unpin-attribute-detail.ts +++ b/lib/apmtraces/lib/model/bulk-unpin-attribute-detail.ts @@ -36,7 +36,8 @@ export interface BulkUnpinAttributeDetail { export namespace BulkUnpinAttributeDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkUnpinAttributeDetail): object { diff --git a/lib/apmtraces/lib/model/bulk-update-attribute-detail.ts b/lib/apmtraces/lib/model/bulk-update-attribute-detail.ts index bdf98f78ef..cbe93c5a3b 100644 --- a/lib/apmtraces/lib/model/bulk-update-attribute-detail.ts +++ b/lib/apmtraces/lib/model/bulk-update-attribute-detail.ts @@ -26,7 +26,7 @@ export interface BulkUpdateAttributeDetail { */ "attributeName": string; /** - * Unit of the attribute to be updated. + * Unit of the attribute to be updated. If unit is not specified, it defaults to NONE. * */ "unit"?: BulkUpdateAttributeDetail.Unit; @@ -50,7 +50,8 @@ export namespace BulkUpdateAttributeDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkUpdateAttributeDetail): object { diff --git a/lib/apmtraces/lib/model/bulk-update-attribute-notes-detail.ts b/lib/apmtraces/lib/model/bulk-update-attribute-notes-detail.ts index e296024355..a37ab213c3 100644 --- a/lib/apmtraces/lib/model/bulk-update-attribute-notes-detail.ts +++ b/lib/apmtraces/lib/model/bulk-update-attribute-notes-detail.ts @@ -41,7 +41,8 @@ export interface BulkUpdateAttributeNotesDetail { export namespace BulkUpdateAttributeNotesDetail { export enum AttributeNameSpace { Traces = "TRACES", - Synthetic = "SYNTHETIC" + Synthetic = "SYNTHETIC", + Logs = "LOGS" } export function getJsonObj(obj: BulkUpdateAttributeNotesDetail): object { diff --git a/lib/apmtraces/lib/model/create-scheduled-query-details.ts b/lib/apmtraces/lib/model/create-scheduled-query-details.ts new file mode 100644 index 0000000000..205dd86f23 --- /dev/null +++ b/lib/apmtraces/lib/model/create-scheduled-query-details.ts @@ -0,0 +1,112 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Object that contains the details about the scheduled query to be created. + * + */ +export interface CreateScheduledQueryDetails { + /** + * Name of the scheduled query. + * + */ + "scheduledQueryName"?: string; + /** + * Type of the scheduled query. + * + */ + "scheduledQueryProcessingType"?: model.ScheduledQueryProcessingType; + /** + * Scheduled query to be run. + * + */ + "scheduledQueryText"?: string; + /** + * Schedule for the scheduled query. + * + */ + "scheduledQuerySchedule"?: string; + /** + * Description for the scheduled query. + * + */ + "scheduledQueryDescription"?: string; + /** + * Maximum runtime for the scheduled query in seconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryMaximumRuntimeInSeconds"?: number; + /** + * Retention period for the scheduled query in milliseconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryRetentionPeriodInMs"?: number; + /** + * Processing sub type of the scheduled query. + * + */ + "scheduledQueryProcessingSubType"?: model.ScheduledQueryProcessingSubType; + "scheduledQueryProcessingConfiguration"?: model.ScheduledQueryProcessingConfig; + /** + * Retention criteria for the scheduled query. + * + */ + "scheduledQueryRetentionCriteria"?: model.ScheduledQueryRetentionCriteria; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateScheduledQueryDetails { + export function getJsonObj(obj: CreateScheduledQueryDetails): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateScheduledQueryDetails): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getDeserializedJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/custom-metric.ts b/lib/apmtraces/lib/model/custom-metric.ts new file mode 100644 index 0000000000..93f1f1691f --- /dev/null +++ b/lib/apmtraces/lib/model/custom-metric.ts @@ -0,0 +1,80 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of the Custom Metric. + * + */ +export interface CustomMetric { + /** + * Namespace in the Custom Metric. It defaults to {@code oracle_apm_custom} if not specified. + * If specified, the necessary OCI policies should be set to allow APM to write to that namespace. + * + */ + "namespace"?: string; + /** + * Name of the Custom Metric. + * + */ + "name": string; + /** + * Description of the Custom Metric. + * + */ + "description"?: string; + /** + * Resource Group of the Custom Metric. + * + */ + "resourceGroup"?: string; + /** + * Indicates whether anomaly Detection should be performed on the generated metric. + * + */ + "isAnomalyDetectionEnabled"?: boolean; + /** + * Compartment of the Monitoring Service. It defaults to the APM domain's compartment if not specified. + * If specified, the necessary OCI policies should be set to allow APM to write to that compartment. + * + */ + "compartment"?: string; + /** + * Unit in which the metric value is reported. For example 'ms'. + * + */ + "unit"?: string; + /** + * Used in conjunction with the dry run header. When the dry run header is set and the isPublishMetric flag is set to true, the + * scheduled query is not created, but validations happen to check if the right OCI policies have been set to write to the specified + * namespace/compartment. + * + */ + "isMetricPublished"?: boolean; +} + +export namespace CustomMetric { + export function getJsonObj(obj: CustomMetric): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CustomMetric): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/index.ts b/lib/apmtraces/lib/model/index.ts index a18eeba44e..e291bcaf6a 100644 --- a/lib/apmtraces/lib/model/index.ts +++ b/lib/apmtraces/lib/model/index.ts @@ -16,6 +16,10 @@ import * as AggregatedSnapshot from "./aggregated-snapshot"; export import AggregatedSnapshot = AggregatedSnapshot.AggregatedSnapshot; import * as AggregatedStackTrace from "./aggregated-stack-trace"; export import AggregatedStackTrace = AggregatedStackTrace.AggregatedStackTrace; +import * as Attribute from "./attribute"; +export import Attribute = Attribute.Attribute; +import * as AttributeMetadata from "./attribute-metadata"; +export import AttributeMetadata = AttributeMetadata.AttributeMetadata; import * as AttributePinResponse from "./attribute-pin-response"; export import AttributePinResponse = AttributePinResponse.AttributePinResponse; import * as AttributeResponse from "./attribute-response"; @@ -78,6 +82,16 @@ import * as BulkUpdateNotesMetadata from "./bulk-update-notes-metadata"; export import BulkUpdateNotesMetadata = BulkUpdateNotesMetadata.BulkUpdateNotesMetadata; import * as BulkUpdateNotesStatus from "./bulk-update-notes-status"; export import BulkUpdateNotesStatus = BulkUpdateNotesStatus.BulkUpdateNotesStatus; +import * as CreateScheduledQueryDetails from "./create-scheduled-query-details"; +export import CreateScheduledQueryDetails = CreateScheduledQueryDetails.CreateScheduledQueryDetails; +import * as CustomMetric from "./custom-metric"; +export import CustomMetric = CustomMetric.CustomMetric; +import * as LifecycleStates from "./lifecycle-states"; +export import LifecycleStates = LifecycleStates.LifecycleStates; +import * as Log from "./log"; +export import Log = Log.Log; +import * as ObjectStorage from "./object-storage"; +export import ObjectStorage = ObjectStorage.ObjectStorage; import * as QueryDetails from "./query-details"; export import QueryDetails = QueryDetails.QueryDetails; import * as QueryResultMetadataSummary from "./query-result-metadata-summary"; @@ -100,8 +114,24 @@ import * as QueryResultsTopologyNodeInfo from "./query-results-topology-node-inf export import QueryResultsTopologyNodeInfo = QueryResultsTopologyNodeInfo.QueryResultsTopologyNodeInfo; import * as QuickPickSummary from "./quick-pick-summary"; export import QuickPickSummary = QuickPickSummary.QuickPickSummary; +import * as ScheduledQuery from "./scheduled-query"; +export import ScheduledQuery = ScheduledQuery.ScheduledQuery; +import * as ScheduledQueryCollection from "./scheduled-query-collection"; +export import ScheduledQueryCollection = ScheduledQueryCollection.ScheduledQueryCollection; +import * as ScheduledQueryProcessingConfig from "./scheduled-query-processing-config"; +export import ScheduledQueryProcessingConfig = ScheduledQueryProcessingConfig.ScheduledQueryProcessingConfig; +import * as ScheduledQueryProcessingSubType from "./scheduled-query-processing-sub-type"; +export import ScheduledQueryProcessingSubType = ScheduledQueryProcessingSubType.ScheduledQueryProcessingSubType; +import * as ScheduledQueryProcessingType from "./scheduled-query-processing-type"; +export import ScheduledQueryProcessingType = ScheduledQueryProcessingType.ScheduledQueryProcessingType; +import * as ScheduledQueryRetentionCriteria from "./scheduled-query-retention-criteria"; +export import ScheduledQueryRetentionCriteria = ScheduledQueryRetentionCriteria.ScheduledQueryRetentionCriteria; +import * as ScheduledQuerySummary from "./scheduled-query-summary"; +export import ScheduledQuerySummary = ScheduledQuerySummary.ScheduledQuerySummary; import * as SnapshotDetail from "./snapshot-detail"; export import SnapshotDetail = SnapshotDetail.SnapshotDetail; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; import * as Span from "./span"; export import Span = Span.Span; import * as SpanLog from "./span-log"; @@ -112,6 +142,8 @@ import * as SpanSnapshot from "./span-snapshot"; export import SpanSnapshot = SpanSnapshot.SpanSnapshot; import * as StackTraceElement from "./stack-trace-element"; export import StackTraceElement = StackTraceElement.StackTraceElement; +import * as Streaming from "./streaming"; +export import Streaming = Streaming.Streaming; import * as Tag from "./tag"; export import Tag = Tag.Tag; import * as TagMetadata from "./tag-metadata"; @@ -126,3 +158,5 @@ import * as TraceSnapshot from "./trace-snapshot"; export import TraceSnapshot = TraceSnapshot.TraceSnapshot; import * as TraceSpanSummary from "./trace-span-summary"; export import TraceSpanSummary = TraceSpanSummary.TraceSpanSummary; +import * as UpdateScheduledQueryDetails from "./update-scheduled-query-details"; +export import UpdateScheduledQueryDetails = UpdateScheduledQueryDetails.UpdateScheduledQueryDetails; diff --git a/lib/apmtraces/lib/model/lifecycle-states.ts b/lib/apmtraces/lib/model/lifecycle-states.ts new file mode 100644 index 0000000000..d0cd970358 --- /dev/null +++ b/lib/apmtraces/lib/model/lifecycle-states.ts @@ -0,0 +1,43 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible lifecycle states for Scheduled Query. + **/ +export enum LifecycleStates { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + + /** + * 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" +} + +export namespace LifecycleStates { + export function getJsonObj(obj: LifecycleStates): LifecycleStates { + return obj; + } + export function getDeserializedJsonObj(obj: LifecycleStates): LifecycleStates { + return obj; + } +} diff --git a/lib/apmtraces/lib/model/log.ts b/lib/apmtraces/lib/model/log.ts new file mode 100644 index 0000000000..be38d9cb47 --- /dev/null +++ b/lib/apmtraces/lib/model/log.ts @@ -0,0 +1,134 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of a log object. + * + */ +export interface Log { + /** + * Unique identifier (logId) for the logKey. Note that this field is + * defined as logKey in the API and it maps to the logId in Application Performance Monitoring. + * + */ + "logKey": string; + /** + * Name of the event. + * + */ + "eventName"?: string; + /** + * Time used by the time picker (RecordedTime). Either the timeCreated if present or the timeObserved. + * + */ + "timestamp": Date; + /** + * Unique identifier for the trace (traceId) associated with this log. + * + */ + "traceKey"?: string; + /** + * Unique identifier for the span (spanId) associated with this log. + * + */ + "spanKey"?: string; + /** + * Trace flags. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "traceFlags"?: number; + /** + * Time that the log event occurred (CreatedTime). + * + */ + "timeCreated"?: Date; + /** + * Time that the log was received by apm (ObservedTime). + * + */ + "timeObserved"?: Date; + /** + * Log Severity text (SeverityText). Also known as Log level. + * + */ + "severityText"?: string; + /** + * Log Severity number (SeverityNumber). + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "severityNumber"?: number; + /** + * Log body (Body). + * + */ + "body"?: string; + /** + * Full values for attributes that are too long to be stored as a log attribute (Overflow). + * + */ + "overflowAttributes"?: string; + /** + * List of attributes associated with the logs. + * + */ + "attributes"?: Array; + /** + * Metadata about the attributes in the logs. + * + */ + "attributeMetadata"?: { [key: string]: model.AttributeMetadata }; +} + +export namespace Log { + export function getJsonObj(obj: Log): object { + const jsonObj = { + ...obj, + ...{ + "attributes": obj.attributes + ? obj.attributes.map(item => { + return model.Attribute.getJsonObj(item); + }) + : undefined, + "attributeMetadata": obj.attributeMetadata + ? common.mapContainer(obj.attributeMetadata, model.AttributeMetadata.getJsonObj) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Log): object { + const jsonObj = { + ...obj, + ...{ + "attributes": obj.attributes + ? obj.attributes.map(item => { + return model.Attribute.getDeserializedJsonObj(item); + }) + : undefined, + "attributeMetadata": obj.attributeMetadata + ? common.mapContainer( + obj.attributeMetadata, + model.AttributeMetadata.getDeserializedJsonObj + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/object-storage.ts b/lib/apmtraces/lib/model/object-storage.ts new file mode 100644 index 0000000000..9e41704ac7 --- /dev/null +++ b/lib/apmtraces/lib/model/object-storage.ts @@ -0,0 +1,51 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of the object storage. + * + */ +export interface ObjectStorage { + /** + * Bucket name in the object store. + * + */ + "bucketName"?: string; + /** + * Namespace in the object store. + * + */ + "nameSpace"?: string; + /** + * Object name prefix in the object store. + * + */ + "objectNamePrefix"?: string; +} + +export namespace ObjectStorage { + export function getJsonObj(obj: ObjectStorage): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ObjectStorage): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-collection.ts b/lib/apmtraces/lib/model/scheduled-query-collection.ts new file mode 100644 index 0000000000..170a18018e --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-collection.ts @@ -0,0 +1,59 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A collection of scheduled queries in the APM Domain. + * + */ +export interface ScheduledQueryCollection { + /** + * A collection of scheduled query summaries in the APM Domain. + * + */ + "items": Array; +} + +export namespace ScheduledQueryCollection { + export function getJsonObj(obj: ScheduledQueryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ScheduledQuerySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ScheduledQueryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ScheduledQuerySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-processing-config.ts b/lib/apmtraces/lib/model/scheduled-query-processing-config.ts new file mode 100644 index 0000000000..beb6dcca5d --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-processing-config.ts @@ -0,0 +1,63 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of the scheduled query processing configuration. + * + */ +export interface ScheduledQueryProcessingConfig { + "streaming"?: model.Streaming; + "objectStorage"?: model.ObjectStorage; + "customMetric"?: model.CustomMetric; +} + +export namespace ScheduledQueryProcessingConfig { + export function getJsonObj(obj: ScheduledQueryProcessingConfig): object { + const jsonObj = { + ...obj, + ...{ + "streaming": obj.streaming ? model.Streaming.getJsonObj(obj.streaming) : undefined, + "objectStorage": obj.objectStorage + ? model.ObjectStorage.getJsonObj(obj.objectStorage) + : undefined, + "customMetric": obj.customMetric + ? model.CustomMetric.getJsonObj(obj.customMetric) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ScheduledQueryProcessingConfig): object { + const jsonObj = { + ...obj, + ...{ + "streaming": obj.streaming + ? model.Streaming.getDeserializedJsonObj(obj.streaming) + : undefined, + "objectStorage": obj.objectStorage + ? model.ObjectStorage.getDeserializedJsonObj(obj.objectStorage) + : undefined, + "customMetric": obj.customMetric + ? model.CustomMetric.getDeserializedJsonObj(obj.customMetric) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-processing-sub-type.ts b/lib/apmtraces/lib/model/scheduled-query-processing-sub-type.ts new file mode 100644 index 0000000000..95fb08a755 --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-processing-sub-type.ts @@ -0,0 +1,46 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Sub type of the scheduled query. + * + **/ +export enum ScheduledQueryProcessingSubType { + ObjectStorage = "OBJECT_STORAGE", + Streaming = "STREAMING", + CustomMetric = "CUSTOM_METRIC", + None = "NONE", + + /** + * 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" +} + +export namespace ScheduledQueryProcessingSubType { + export function getJsonObj( + obj: ScheduledQueryProcessingSubType + ): ScheduledQueryProcessingSubType { + return obj; + } + export function getDeserializedJsonObj( + obj: ScheduledQueryProcessingSubType + ): ScheduledQueryProcessingSubType { + return obj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-processing-type.ts b/lib/apmtraces/lib/model/scheduled-query-processing-type.ts new file mode 100644 index 0000000000..c40488b38c --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-processing-type.ts @@ -0,0 +1,43 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A processing type for the scheduled query + * + **/ +export enum ScheduledQueryProcessingType { + Export = "EXPORT", + Query = "QUERY", + Alert = "ALERT", + + /** + * 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" +} + +export namespace ScheduledQueryProcessingType { + export function getJsonObj(obj: ScheduledQueryProcessingType): ScheduledQueryProcessingType { + return obj; + } + export function getDeserializedJsonObj( + obj: ScheduledQueryProcessingType + ): ScheduledQueryProcessingType { + return obj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-retention-criteria.ts b/lib/apmtraces/lib/model/scheduled-query-retention-criteria.ts new file mode 100644 index 0000000000..6631b2a845 --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-retention-criteria.ts @@ -0,0 +1,44 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Retention crtieria for the scheduled query. + * + **/ +export enum ScheduledQueryRetentionCriteria { + KeepDataUntilRetentionPeriod = "KEEP_DATA_UNTIL_RETENTION_PERIOD", + Update = "UPDATE", + + /** + * 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" +} + +export namespace ScheduledQueryRetentionCriteria { + export function getJsonObj( + obj: ScheduledQueryRetentionCriteria + ): ScheduledQueryRetentionCriteria { + return obj; + } + export function getDeserializedJsonObj( + obj: ScheduledQueryRetentionCriteria + ): ScheduledQueryRetentionCriteria { + return obj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query-summary.ts b/lib/apmtraces/lib/model/scheduled-query-summary.ts new file mode 100644 index 0000000000..d27ce6cf20 --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query-summary.ts @@ -0,0 +1,123 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Scheduled Query object. + * + */ +export interface ScheduledQuerySummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled query . An OCID is generated + * when the scheduled query is created. + * + */ + "id"?: string; + /** + * Name of the scheduled query. + * + */ + "scheduledQueryName"?: string; + /** + * Processing type of the scheduled query. + * + */ + "scheduledQueryProcessingType"?: model.ScheduledQueryProcessingType; + /** + * Scheduled query to be run. + * + */ + "scheduledQueryText"?: string; + /** + * Schedule for the scheduled query. + * + */ + "scheduledQuerySchedule"?: string; + /** + * Processing sub type of the scheduled query. + * + */ + "scheduledQueryProcessingSubType"?: model.ScheduledQueryProcessingSubType; + "scheduledQueryProcessingConfiguration"?: model.ScheduledQueryProcessingConfig; + /** + * Scheduled query instances. + * + */ + "scheduledQueryInstances"?: string; + /** + * Next run for the scheduled query. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryNextRunInMs"?: number; + /** + * Retention criteria for the scheduled query. + * + */ + "scheduledQueryRetentionCriteria"?: model.ScheduledQueryRetentionCriteria; + /** + * The current lifecycle state of the Scheduled Query. + */ + "lifecycleState"?: model.LifecycleStates; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ScheduledQuerySummary { + export function getJsonObj(obj: ScheduledQuerySummary): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ScheduledQuerySummary): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getDeserializedJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/scheduled-query.ts b/lib/apmtraces/lib/model/scheduled-query.ts new file mode 100644 index 0000000000..cad5f6c826 --- /dev/null +++ b/lib/apmtraces/lib/model/scheduled-query.ts @@ -0,0 +1,138 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Scheduled Query object. + * + */ +export interface ScheduledQuery { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled query . An OCID is generated + * when the scheduled query is created. + * + */ + "id"?: string; + /** + * Processing type of the scheduled query. + * + */ + "scheduledQueryProcessingType"?: model.ScheduledQueryProcessingType; + /** + * Name of the scheduled query. + * + */ + "scheduledQueryName"?: string; + /** + * Scheduled query to be run. + * + */ + "scheduledQueryText"?: string; + /** + * Description for the scheduled query. + * + */ + "scheduledQueryDescription"?: string; + /** + * Schedule for the scheduled query. + * + */ + "scheduledQuerySchedule"?: string; + /** + * Maximum runtime for the scheduled query in seconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryMaximumRuntimeInSeconds"?: number; + /** + * Next run for the scheduled query. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryNextRunInMs"?: number; + /** + * Retention period for the scheduled query in milliseconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryRetentionPeriodInMs"?: number; + /** + * Processing sub type of the scheduled query. + * + */ + "scheduledQueryProcessingSubType"?: model.ScheduledQueryProcessingSubType; + "scheduledQueryProcessingConfiguration"?: model.ScheduledQueryProcessingConfig; + /** + * Retention criteria for the scheduled query. + * + */ + "scheduledQueryRetentionCriteria"?: model.ScheduledQueryRetentionCriteria; + /** + * Scheduled query instances. + * + */ + "scheduledQueryInstances"?: string; + /** + * The current lifecycle state of the Scheduled Query. + */ + "lifecycleState"?: model.LifecycleStates; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ScheduledQuery { + export function getJsonObj(obj: ScheduledQuery): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ScheduledQuery): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getDeserializedJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/sort-order.ts b/lib/apmtraces/lib/model/sort-order.ts new file mode 100644 index 0000000000..55a006ba90 --- /dev/null +++ b/lib/apmtraces/lib/model/sort-order.ts @@ -0,0 +1,33 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Sort orders. + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/apmtraces/lib/model/streaming.ts b/lib/apmtraces/lib/model/streaming.ts new file mode 100644 index 0000000000..b187782ba7 --- /dev/null +++ b/lib/apmtraces/lib/model/streaming.ts @@ -0,0 +1,41 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Definition of the Stream. + * + */ +export interface Streaming { + /** + * Stream Id. + * + */ + "streamId"?: string; +} + +export namespace Streaming { + export function getJsonObj(obj: Streaming): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Streaming): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/model/tag-metadata.ts b/lib/apmtraces/lib/model/tag-metadata.ts index 618b3d6554..a90a335a38 100644 --- a/lib/apmtraces/lib/model/tag-metadata.ts +++ b/lib/apmtraces/lib/model/tag-metadata.ts @@ -26,7 +26,7 @@ export interface TagMetadata { */ "tagType"?: TagMetadata.TagType; /** - * Unit associated with the tag key. + * Unit associated with the tag key. If unit is not specified, it defaults to NONE. * */ "tagUnit"?: TagMetadata.TagUnit; diff --git a/lib/apmtraces/lib/model/update-scheduled-query-details.ts b/lib/apmtraces/lib/model/update-scheduled-query-details.ts new file mode 100644 index 0000000000..4d76a3ca47 --- /dev/null +++ b/lib/apmtraces/lib/model/update-scheduled-query-details.ts @@ -0,0 +1,112 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Object that contains the details about the scheduled query to be updated. + * + */ +export interface UpdateScheduledQueryDetails { + /** + * Name of the scheduled query. + * + */ + "scheduledQueryName"?: string; + /** + * Type of the scheduled query. + * + */ + "scheduledQueryProcessingType"?: model.ScheduledQueryProcessingType; + /** + * Processing sub type of the scheduled query. + * + */ + "scheduledQueryProcessingSubType"?: model.ScheduledQueryProcessingSubType; + /** + * Scheduled query to be run. + * + */ + "scheduledQueryText"?: string; + /** + * Schedule for the scheduled query. + * + */ + "scheduledQuerySchedule"?: string; + /** + * Description for the scheduled query. + * + */ + "scheduledQueryDescription"?: string; + /** + * Maximum runtime for the scheduled query in seconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryMaximumRuntimeInSeconds"?: number; + /** + * Retention period for the scheduled query in milliseconds. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "scheduledQueryRetentionPeriodInMs"?: number; + "scheduledQueryProcessingConfiguration"?: model.ScheduledQueryProcessingConfig; + /** + * Retention criteria for the scheduled query. + * + */ + "scheduledQueryRetentionCriteria"?: model.ScheduledQueryRetentionCriteria; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateScheduledQueryDetails { + export function getJsonObj(obj: UpdateScheduledQueryDetails): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateScheduledQueryDetails): object { + const jsonObj = { + ...obj, + ...{ + "scheduledQueryProcessingConfiguration": obj.scheduledQueryProcessingConfiguration + ? model.ScheduledQueryProcessingConfig.getDeserializedJsonObj( + obj.scheduledQueryProcessingConfiguration + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/apmtraces/lib/request/create-scheduled-query-request.ts b/lib/apmtraces/lib/request/create-scheduled-query-request.ts new file mode 100644 index 0000000000..d0bf60287b --- /dev/null +++ b/lib/apmtraces/lib/request/create-scheduled-query-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/CreateScheduledQuery.ts.html |here} to see how to use CreateScheduledQueryRequest. + */ +export interface CreateScheduledQueryRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Request body containing the details about the scheduled query to be created. + * + */ + "createScheduledQueryDetails": model.CreateScheduledQueryDetails; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not create or modify the resource + * and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: string; +} diff --git a/lib/apmtraces/lib/request/delete-scheduled-query-request.ts b/lib/apmtraces/lib/request/delete-scheduled-query-request.ts new file mode 100644 index 0000000000..91c5311e67 --- /dev/null +++ b/lib/apmtraces/lib/request/delete-scheduled-query-request.ts @@ -0,0 +1,55 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/DeleteScheduledQuery.ts.html |here} to see how to use DeleteScheduledQueryRequest. + */ +export interface DeleteScheduledQueryRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Id of the scheduled query. + * + */ + "scheduledQueryId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/apmtraces/lib/request/get-log-request.ts b/lib/apmtraces/lib/request/get-log-request.ts new file mode 100644 index 0000000000..109bf7aca3 --- /dev/null +++ b/lib/apmtraces/lib/request/get-log-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetLog.ts.html |here} to see how to use GetLogRequest. + */ +export interface GetLogRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Log key. + * + */ + "logKey": string; + /** + * Include logs with log time equal to or greater than this value. + * + */ + "timeLogStartedGreaterThanOrEqualTo": Date; + /** + * Include logs with log time less than this value. + * + */ + "timeLogEndedLessThan": Date; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/apmtraces/lib/request/get-scheduled-query-request.ts b/lib/apmtraces/lib/request/get-scheduled-query-request.ts new file mode 100644 index 0000000000..e25072230f --- /dev/null +++ b/lib/apmtraces/lib/request/get-scheduled-query-request.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetScheduledQuery.ts.html |here} to see how to use GetScheduledQueryRequest. + */ +export interface GetScheduledQueryRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Id of the scheduled query. + * + */ + "scheduledQueryId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/apmtraces/lib/request/get-trace-request.ts b/lib/apmtraces/lib/request/get-trace-request.ts index 90fab56495..b1c88bfa2f 100644 --- a/lib/apmtraces/lib/request/get-trace-request.ts +++ b/lib/apmtraces/lib/request/get-trace-request.ts @@ -35,12 +35,12 @@ export interface GetTraceRequest extends common.BaseRequest { */ "opcRequestId"?: string; /** - * Include traces that have a {@code minTraceStartTime} equal to or greater than this value. + * Include traces that have a minTraceStartTime equal to or greater than this value. * */ "timeTraceStartedGreaterThanOrEqualTo"?: Date; /** - * Include traces that have a {@code minTraceStartTime} less than this value. + * Include traces that have a minTraceStartTime less than this value. * */ "timeTraceStartedLessThan"?: Date; diff --git a/lib/apmtraces/lib/request/index.ts b/lib/apmtraces/lib/request/index.ts index 201d660989..16dee29a07 100644 --- a/lib/apmtraces/lib/request/index.ts +++ b/lib/apmtraces/lib/request/index.ts @@ -32,8 +32,20 @@ import * as ListQuickPicksRequest from "./list-quick-picks-request"; export import ListQuickPicksRequest = ListQuickPicksRequest.ListQuickPicksRequest; import * as QueryRequest from "./query-request"; export import QueryRequest = QueryRequest.QueryRequest; +import * as CreateScheduledQueryRequest from "./create-scheduled-query-request"; +export import CreateScheduledQueryRequest = CreateScheduledQueryRequest.CreateScheduledQueryRequest; +import * as DeleteScheduledQueryRequest from "./delete-scheduled-query-request"; +export import DeleteScheduledQueryRequest = DeleteScheduledQueryRequest.DeleteScheduledQueryRequest; +import * as GetScheduledQueryRequest from "./get-scheduled-query-request"; +export import GetScheduledQueryRequest = GetScheduledQueryRequest.GetScheduledQueryRequest; +import * as ListScheduledQueriesRequest from "./list-scheduled-queries-request"; +export import ListScheduledQueriesRequest = ListScheduledQueriesRequest.ListScheduledQueriesRequest; +import * as UpdateScheduledQueryRequest from "./update-scheduled-query-request"; +export import UpdateScheduledQueryRequest = UpdateScheduledQueryRequest.UpdateScheduledQueryRequest; import * as GetAggregatedSnapshotRequest from "./get-aggregated-snapshot-request"; export import GetAggregatedSnapshotRequest = GetAggregatedSnapshotRequest.GetAggregatedSnapshotRequest; +import * as GetLogRequest from "./get-log-request"; +export import GetLogRequest = GetLogRequest.GetLogRequest; import * as GetSpanRequest from "./get-span-request"; export import GetSpanRequest = GetSpanRequest.GetSpanRequest; import * as GetTraceRequest from "./get-trace-request"; diff --git a/lib/apmtraces/lib/request/list-scheduled-queries-request.ts b/lib/apmtraces/lib/request/list-scheduled-queries-request.ts new file mode 100644 index 0000000000..89d6530dfa --- /dev/null +++ b/lib/apmtraces/lib/request/list-scheduled-queries-request.ts @@ -0,0 +1,77 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/ListScheduledQueries.ts.html |here} to see how to use ListScheduledQueriesRequest. + */ +export interface ListScheduledQueriesRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The maximum number of items to return. + * + */ + "limit"?: number; + /** + * The page token representing the page where to start retrieving results. + * This is usually retrieved from a previous response. + * + */ + "page"?: string; + /** + * A filter to return resources that match the given display name. This will return resources that have name starting with this filter. + */ + "displayName"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The displayName sort order + * is case-sensitive. + * + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide one \"sortBy\" value. + * + */ + "sortBy"?: ListScheduledQueriesRequest.SortBy; +} + +export namespace ListScheduledQueriesRequest { + export enum SortBy { + ScheduledQueryName = "SCHEDULED_QUERY_NAME", + ScheduledQueryType = "SCHEDULED_QUERY_TYPE", + ScheduledQuerySubType = "SCHEDULED_QUERY_SUB_TYPE", + ScheduledQueryNextRun = "SCHEDULED_QUERY_NEXT_RUN", + ScheduledQuerySchedule = "SCHEDULED_QUERY_SCHEDULE" + } +} diff --git a/lib/apmtraces/lib/request/query-request.ts b/lib/apmtraces/lib/request/query-request.ts index 75ea0621f4..bb1db2dd9c 100644 --- a/lib/apmtraces/lib/request/query-request.ts +++ b/lib/apmtraces/lib/request/query-request.ts @@ -24,18 +24,20 @@ export interface QueryRequest extends common.BaseRequest { */ "apmDomainId": string; /** - * Include spans that have a {@code spanStartTime} equal to or greater than this value. + * Include spans that have a {@code spanStartTime} equal to or greater than this value. Also, include logs and traces + * that have startTime greater than this value. * */ "timeSpanStartedGreaterThanOrEqualTo": Date; /** - * Include spans that have a {@code spanStartTime}less than this value. + * Include spans that have a {@code spanStartTime} less than this value. Also, include traces that have startTime less than this value + * and logs that have endTime less than this value. * */ "timeSpanStartedLessThan": Date; /** - * Request body containing the query to be run against the trace data and to filter and - * retrieve trace data results. + * Request body containing the query to be run against the trace, span, services, background queries and other metric data and to filter and + * retrieve the results. * */ "queryDetails": model.QueryDetails; diff --git a/lib/apmtraces/lib/request/update-scheduled-query-request.ts b/lib/apmtraces/lib/request/update-scheduled-query-request.ts new file mode 100644 index 0000000000..14c89b9175 --- /dev/null +++ b/lib/apmtraces/lib/request/update-scheduled-query-request.ts @@ -0,0 +1,66 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/UpdateScheduledQuery.ts.html |here} to see how to use UpdateScheduledQueryRequest. + */ +export interface UpdateScheduledQueryRequest extends common.BaseRequest { + /** + * The APM Domain ID for the intended request. + * + */ + "apmDomainId": string; + /** + * Id of the scheduled query. + * + */ + "scheduledQueryId": string; + /** + * Request body containing the details about the scheduled query to be updated. + * + */ + "updateScheduledQueryDetails": model.UpdateScheduledQueryDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not create or modify the resource + * and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: string; +} diff --git a/lib/apmtraces/lib/response/create-scheduled-query-response.ts b/lib/apmtraces/lib/response/create-scheduled-query-response.ts new file mode 100644 index 0000000000..121b46cab7 --- /dev/null +++ b/lib/apmtraces/lib/response/create-scheduled-query-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateScheduledQueryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.ScheduledQuery instance. + */ + "scheduledQuery": model.ScheduledQuery; +} diff --git a/lib/apmtraces/lib/response/delete-scheduled-query-response.ts b/lib/apmtraces/lib/response/delete-scheduled-query-response.ts new file mode 100644 index 0000000000..75f9fe0c3d --- /dev/null +++ b/lib/apmtraces/lib/response/delete-scheduled-query-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteScheduledQueryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/apmtraces/lib/response/get-log-response.ts b/lib/apmtraces/lib/response/get-log-response.ts new file mode 100644 index 0000000000..3ec2c69113 --- /dev/null +++ b/lib/apmtraces/lib/response/get-log-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetLogResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.Log instance. + */ + "log": model.Log; +} diff --git a/lib/apmtraces/lib/response/get-scheduled-query-response.ts b/lib/apmtraces/lib/response/get-scheduled-query-response.ts new file mode 100644 index 0000000000..7cdf00080d --- /dev/null +++ b/lib/apmtraces/lib/response/get-scheduled-query-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetScheduledQueryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.ScheduledQuery instance. + */ + "scheduledQuery": model.ScheduledQuery; +} diff --git a/lib/apmtraces/lib/response/index.ts b/lib/apmtraces/lib/response/index.ts index 44ced881e1..f8ef27bfc4 100644 --- a/lib/apmtraces/lib/response/index.ts +++ b/lib/apmtraces/lib/response/index.ts @@ -32,8 +32,20 @@ import * as ListQuickPicksResponse from "./list-quick-picks-response"; export import ListQuickPicksResponse = ListQuickPicksResponse.ListQuickPicksResponse; import * as QueryResponse from "./query-response"; export import QueryResponse = QueryResponse.QueryResponse; +import * as CreateScheduledQueryResponse from "./create-scheduled-query-response"; +export import CreateScheduledQueryResponse = CreateScheduledQueryResponse.CreateScheduledQueryResponse; +import * as DeleteScheduledQueryResponse from "./delete-scheduled-query-response"; +export import DeleteScheduledQueryResponse = DeleteScheduledQueryResponse.DeleteScheduledQueryResponse; +import * as GetScheduledQueryResponse from "./get-scheduled-query-response"; +export import GetScheduledQueryResponse = GetScheduledQueryResponse.GetScheduledQueryResponse; +import * as ListScheduledQueriesResponse from "./list-scheduled-queries-response"; +export import ListScheduledQueriesResponse = ListScheduledQueriesResponse.ListScheduledQueriesResponse; +import * as UpdateScheduledQueryResponse from "./update-scheduled-query-response"; +export import UpdateScheduledQueryResponse = UpdateScheduledQueryResponse.UpdateScheduledQueryResponse; import * as GetAggregatedSnapshotResponse from "./get-aggregated-snapshot-response"; export import GetAggregatedSnapshotResponse = GetAggregatedSnapshotResponse.GetAggregatedSnapshotResponse; +import * as GetLogResponse from "./get-log-response"; +export import GetLogResponse = GetLogResponse.GetLogResponse; import * as GetSpanResponse from "./get-span-response"; export import GetSpanResponse = GetSpanResponse.GetSpanResponse; import * as GetTraceResponse from "./get-trace-response"; diff --git a/lib/apmtraces/lib/response/list-scheduled-queries-response.ts b/lib/apmtraces/lib/response/list-scheduled-queries-response.ts new file mode 100644 index 0000000000..2657e6ae59 --- /dev/null +++ b/lib/apmtraces/lib/response/list-scheduled-queries-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListScheduledQueriesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the page parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.ScheduledQueryCollection instance. + */ + "scheduledQueryCollection": model.ScheduledQueryCollection; +} diff --git a/lib/apmtraces/lib/response/update-scheduled-query-response.ts b/lib/apmtraces/lib/response/update-scheduled-query-response.ts new file mode 100644 index 0000000000..9c9ffe5fcc --- /dev/null +++ b/lib/apmtraces/lib/response/update-scheduled-query-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateScheduledQueryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.ScheduledQuery instance. + */ + "scheduledQuery": model.ScheduledQuery; +} diff --git a/lib/apmtraces/lib/scheduledquery-waiter.ts b/lib/apmtraces/lib/scheduledquery-waiter.ts new file mode 100644 index 0000000000..9a4d83f17d --- /dev/null +++ b/lib/apmtraces/lib/scheduledquery-waiter.ts @@ -0,0 +1,45 @@ +/** + * Application Performance Monitoring Trace Explorer API + * Use the Application Performance Monitoring Trace Explorer API to query traces and associated spans in Trace Explorer. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html). + + * OpenAPI spec version: 20200630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { ScheduledQueryClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class ScheduledQueryWaiter { + public constructor( + private client: ScheduledQueryClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forScheduledQuery till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetScheduledQueryResponse | null (null in case of 404 response) + */ + public async forScheduledQuery( + request: serviceRequests.GetScheduledQueryRequest, + ...targetStates: models.LifecycleStates[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getScheduledQuery(request), + response => targetStates.includes(response.scheduledQuery.lifecycleState!), + targetStates.includes(models.LifecycleStates.Deleted) + ); + } +} diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index b2d4aadd3d..bc6efee784 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index 1f02ffc2d9..0cb50e319f 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index 6cc8c0d769..6bcc95f7c4 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 4274a06409..4eb3ff35f5 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index ae1c25dd85..6ea5f10f3c 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 2b278e9adc..515534c5ca 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index ffc679be05..529288530e 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 98a8c3eb47..557b013140 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index fa1f3248d5..09beea96bb 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 2d40340d42..5325d697be 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index 49dd68b6c0..dbef7c0fdc 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 0070b17ca7..c0c5a9b25c 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index cbd1835483..a2b17ec833 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 1ca1d4e698..489afe621d 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 32ac99f6d1..07f6f971e0 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index 596fc28eba..00f3ab8d2e 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 5aaced7b41..f20770ad6d 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/lib/realm.ts b/lib/common/lib/realm.ts index da4514ec3e..ce16230b99 100644 --- a/lib/common/lib/realm.ts +++ b/lib/common/lib/realm.ts @@ -60,6 +60,7 @@ export class Realm { public static OC29: Realm = Realm.register("oc29", "oraclecloud29.com"); public static OC23: Realm = Realm.register("oc23", "oraclecloud23.com"); public static OC35: Realm = Realm.register("oc35", "oraclecloud35.com"); + public static OC42: Realm = Realm.register("oc42", "oraclecloud42.com"); public static values(): Realm[] { if (useOnlyDeveloperToolConfigurationRegions()) { diff --git a/lib/common/lib/region.ts b/lib/common/lib/region.ts index bb93b444ae..744743b6fe 100644 --- a/lib/common/lib/region.ts +++ b/lib/common/lib/region.ts @@ -180,6 +180,9 @@ export class Region { public static AP_SUWON_1: Region = Region.register("ap-suwon-1", Realm.OC35, "dln"); public static AP_CHUNCHEON_2: Region = Region.register("ap-chuncheon-2", Realm.OC35, "bno"); + // OC42 + public static US_ASHBURN_2: Region = Region.register("us-ashburn-2", Realm.OC42, "yxj"); + /** * Return all known Regions in this version of the SDK, except possibly the region returned by IMDS (Instance Metadata * Service, only available on OCI instances), since IMDS is not automatically contacted by this method. diff --git a/lib/common/package.json b/lib/common/package.json index 947eecbba9..ace063f974 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/common/tests/resources/developer-tool-configuration.json b/lib/common/tests/resources/developer-tool-configuration.json index abb27b4954..b3cb3d69aa 100644 --- a/lib/common/tests/resources/developer-tool-configuration.json +++ b/lib/common/tests/resources/developer-tool-configuration.json @@ -436,5 +436,11 @@ "realmKey": "oc26", "regionIdentifier": "me-alain-1", "realmDomainComponent": "oraclecloud26.com" + }, + { + "regionKey": "yxj", + "realmKey": "oc42", + "regionIdentifier": "us-ashburn-2", + "realmDomainComponent": "oraclecloud42.com" } ] \ No newline at end of file diff --git a/lib/common/tests/resources/regions.json b/lib/common/tests/resources/regions.json index 84ffa621cd..7078e4834f 100644 --- a/lib/common/tests/resources/regions.json +++ b/lib/common/tests/resources/regions.json @@ -436,5 +436,11 @@ "realmKey": "oc26", "regionIdentifier": "me-alain-1", "realmDomainComponent": "oraclecloud26.com" + }, + { + "regionKey": "yxj", + "realmKey": "oc42", + "regionIdentifier": "us-ashburn-2", + "realmDomainComponent": "oraclecloud42.com" } ] \ No newline at end of file diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index f9879663e6..d9d057ac15 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Compute Cloud At Customer Service", "repository": { "type": "git", diff --git a/lib/computeinstanceagent/package.json b/lib/computeinstanceagent/package.json index 08eca538be..9870e4ad8b 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index c37edd9070..6ef00ae5cf 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 673c9c914f..512332c68f 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/package.json b/lib/core/package.json index c75b86582f..766ba94f45 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 2b7a77e06d..2eace6fbe4 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index 970d0ed59d..8416cda55f 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -1809,6 +1809,90 @@ export class DatabaseClient { } } + /** + * Associate a Cloud Autonomous VM cluster with a different subscription. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ChangeCloudAutonomousVmClusterSubscriptionRequest + * @return ChangeCloudAutonomousVmClusterSubscriptionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeCloudAutonomousVmClusterSubscription.ts.html |here} to see how to use ChangeCloudAutonomousVmClusterSubscription API. + */ + public async changeCloudAutonomousVmClusterSubscription( + changeCloudAutonomousVmClusterSubscriptionRequest: requests.ChangeCloudAutonomousVmClusterSubscriptionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DatabaseClient#changeCloudAutonomousVmClusterSubscription." + ); + const operationName = "changeCloudAutonomousVmClusterSubscription"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ChangeCloudAutonomousVmClusterSubscription"; + const pathParams = { + "{cloudAutonomousVmClusterId}": + changeCloudAutonomousVmClusterSubscriptionRequest.cloudAutonomousVmClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeCloudAutonomousVmClusterSubscriptionRequest.opcRetryToken, + "opc-request-id": changeCloudAutonomousVmClusterSubscriptionRequest.opcRequestId, + "if-match": changeCloudAutonomousVmClusterSubscriptionRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeCloudAutonomousVmClusterSubscriptionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/changeSubscription", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeCloudAutonomousVmClusterSubscriptionRequest.changeCloudAutonomousVmClusterSubscriptionDetails, + "ChangeCloudAutonomousVmClusterSubscriptionDetails", + model.ChangeCloudAutonomousVmClusterSubscriptionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves a cloud Exadata infrastructure resource and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.For more information about moving resources to a different compartment, see [Moving Database Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm#moveRes). * @@ -5442,7 +5526,8 @@ This operation should be performed on respective standby database. let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, "opc-retry-token": createCloudAutonomousVmClusterRequest.opcRetryToken, - "opc-request-id": createCloudAutonomousVmClusterRequest.opcRequestId + "opc-request-id": createCloudAutonomousVmClusterRequest.opcRequestId, + "opc-dry-run": createCloudAutonomousVmClusterRequest.opcDryRun }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -28525,6 +28610,86 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, } } + /** + * Lists the OCIDs of the Autonomous Database resource pool members for the specified Autonomous Database leader. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListResourcePoolMembersRequest + * @return ListResourcePoolMembersResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListResourcePoolMembers.ts.html |here} to see how to use ListResourcePoolMembers API. + */ + public async listResourcePoolMembers( + listResourcePoolMembersRequest: requests.ListResourcePoolMembersRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#listResourcePoolMembers."); + const operationName = "listResourcePoolMembers"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/ListResourcePoolMembers"; + const pathParams = { + "{autonomousDatabaseId}": listResourcePoolMembersRequest.autonomousDatabaseId + }; + + const queryParams = { + "limit": listResourcePoolMembersRequest.limit, + "page": listResourcePoolMembersRequest.page + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listResourcePoolMembersRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listResourcePoolMembersRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/autonomousDatabases/{autonomousDatabaseId}/resourcePoolMembers", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "resourcePoolMemberCollection", + bodyModel: model.ResourcePoolMemberCollection, + type: "model.ResourcePoolMemberCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Lists the Scheduled Action resources in the specified compartment. * @@ -30827,6 +30992,87 @@ This operation should always be performed on primary. } } + /** + * Install the PKCS11 driver for given keystore type + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RegisterCloudVmClusterPkcsRequest + * @return RegisterCloudVmClusterPkcsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RegisterCloudVmClusterPkcs.ts.html |here} to see how to use RegisterCloudVmClusterPkcs API. + */ + public async registerCloudVmClusterPkcs( + registerCloudVmClusterPkcsRequest: requests.RegisterCloudVmClusterPkcsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#registerCloudVmClusterPkcs."); + const operationName = "registerCloudVmClusterPkcs"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/RegisterCloudVmClusterPkcs"; + const pathParams = { + "{cloudVmClusterId}": registerCloudVmClusterPkcsRequest.cloudVmClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": registerCloudVmClusterPkcsRequest.opcRetryToken, + "opc-request-id": registerCloudVmClusterPkcsRequest.opcRequestId, + "if-match": registerCloudVmClusterPkcsRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + registerCloudVmClusterPkcsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/cloudVmClusters/{cloudVmClusterId}/actions/registerPkcs", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + registerCloudVmClusterPkcsRequest.registerCloudVmClusterPkcsDetails, + "RegisterCloudVmClusterPkcsDetails", + model.RegisterCloudVmClusterPkcsDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Reinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see * [Reinstate the Disabled Standby in an Autonomous Data Guard Configuration](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-B5C6A90D-72E3-4F32-988D-8AECC0A2D947). @@ -34514,6 +34760,87 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, } } + /** + * Uninstall the PKCS11 driver for given keystore type + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param UnregisterCloudVmClusterPkcsRequest + * @return UnregisterCloudVmClusterPkcsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterCloudVmClusterPkcs.ts.html |here} to see how to use UnregisterCloudVmClusterPkcs API. + */ + public async unregisterCloudVmClusterPkcs( + unregisterCloudVmClusterPkcsRequest: requests.UnregisterCloudVmClusterPkcsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#unregisterCloudVmClusterPkcs."); + const operationName = "unregisterCloudVmClusterPkcs"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/UnregisterCloudVmClusterPkcs"; + const pathParams = { + "{cloudVmClusterId}": unregisterCloudVmClusterPkcsRequest.cloudVmClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": unregisterCloudVmClusterPkcsRequest.opcRetryToken, + "opc-request-id": unregisterCloudVmClusterPkcsRequest.opcRequestId, + "if-match": unregisterCloudVmClusterPkcsRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + unregisterCloudVmClusterPkcsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/cloudVmClusters/{cloudVmClusterId}/actions/unregisterPkcs", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + unregisterCloudVmClusterPkcsRequest.unregisterCloudVmClusterPkcsDetails, + "UnregisterCloudVmClusterPkcsDetails", + model.UnregisterCloudVmClusterPkcsDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags. * This operation does not retry by default if the user has not defined a retry configuration. @@ -35497,7 +35824,8 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, "if-match": updateCloudAutonomousVmClusterRequest.ifMatch, - "opc-request-id": updateCloudAutonomousVmClusterRequest.opcRequestId + "opc-request-id": updateCloudAutonomousVmClusterRequest.opcRequestId, + "opc-dry-run": updateCloudAutonomousVmClusterRequest.opcDryRun }; const specRetryConfiguration = common.NoRetryConfigurationDetails; diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index b68a43f71f..9a682d6fee 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -568,6 +568,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forChangeCloudAutonomousVmClusterSubscription + * + * @param request the request to send + * @return response returns ChangeCloudAutonomousVmClusterSubscriptionResponse, GetWorkRequestResponse tuple + */ + public async forChangeCloudAutonomousVmClusterSubscription( + request: serviceRequests.ChangeCloudAutonomousVmClusterSubscriptionRequest + ): Promise<{ + response: serviceResponses.ChangeCloudAutonomousVmClusterSubscriptionResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const changeCloudAutonomousVmClusterSubscriptionResponse = await this.client.changeCloudAutonomousVmClusterSubscription( + request + ); + if (changeCloudAutonomousVmClusterSubscriptionResponse.opcWorkRequestId === undefined) + return { + response: changeCloudAutonomousVmClusterSubscriptionResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + changeCloudAutonomousVmClusterSubscriptionResponse.opcWorkRequestId + ); + return { + response: changeCloudAutonomousVmClusterSubscriptionResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forChangeCloudExadataInfrastructureCompartment * @@ -5547,6 +5578,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forRegisterCloudVmClusterPkcs + * + * @param request the request to send + * @return response returns RegisterCloudVmClusterPkcsResponse, GetWorkRequestResponse tuple + */ + public async forRegisterCloudVmClusterPkcs( + request: serviceRequests.RegisterCloudVmClusterPkcsRequest + ): Promise<{ + response: serviceResponses.RegisterCloudVmClusterPkcsResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const registerCloudVmClusterPkcsResponse = await this.client.registerCloudVmClusterPkcs( + request + ); + if (registerCloudVmClusterPkcsResponse.opcWorkRequestId === undefined) + return { + response: registerCloudVmClusterPkcsResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + registerCloudVmClusterPkcsResponse.opcWorkRequestId + ); + return { + response: registerCloudVmClusterPkcsResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forReinstateAutonomousContainerDatabaseDataguard * @@ -6699,6 +6761,37 @@ export class DatabaseWaiter { return { response: terminateDbSystemResponse, workRequestResponse: getWorkRequestResponse }; } + /** + * Waits forUnregisterCloudVmClusterPkcs + * + * @param request the request to send + * @return response returns UnregisterCloudVmClusterPkcsResponse, GetWorkRequestResponse tuple + */ + public async forUnregisterCloudVmClusterPkcs( + request: serviceRequests.UnregisterCloudVmClusterPkcsRequest + ): Promise<{ + response: serviceResponses.UnregisterCloudVmClusterPkcsResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const unregisterCloudVmClusterPkcsResponse = await this.client.unregisterCloudVmClusterPkcs( + request + ); + if (unregisterCloudVmClusterPkcsResponse.opcWorkRequestId === undefined) + return { + response: unregisterCloudVmClusterPkcsResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + unregisterCloudVmClusterPkcsResponse.opcWorkRequestId + ); + return { + response: unregisterCloudVmClusterPkcsResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forUpdateAutonomousContainerDatabase * diff --git a/lib/database/lib/model/autonomous-container-database-summary.ts b/lib/database/lib/model/autonomous-container-database-summary.ts index ca55bd69a3..838ad1dc1a 100644 --- a/lib/database/lib/model/autonomous-container-database-summary.ts +++ b/lib/database/lib/model/autonomous-container-database-summary.ts @@ -150,6 +150,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * diff --git a/lib/database/lib/model/autonomous-container-database.ts b/lib/database/lib/model/autonomous-container-database.ts index 3f45b150ae..eb23c188a9 100644 --- a/lib/database/lib/model/autonomous-container-database.ts +++ b/lib/database/lib/model/autonomous-container-database.ts @@ -146,6 +146,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * diff --git a/lib/database/lib/model/autonomous-database-software-image-summary.ts b/lib/database/lib/model/autonomous-database-software-image-summary.ts index 010c240ef7..dbdacc7fa4 100644 --- a/lib/database/lib/model/autonomous-database-software-image-summary.ts +++ b/lib/database/lib/model/autonomous-database-software-image-summary.ts @@ -66,6 +66,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * One-off patches included in the Autonomous Database Software Image */ diff --git a/lib/database/lib/model/autonomous-database-software-image.ts b/lib/database/lib/model/autonomous-database-software-image.ts index 9b40cf2be7..5bc7ff4de0 100644 --- a/lib/database/lib/model/autonomous-database-software-image.ts +++ b/lib/database/lib/model/autonomous-database-software-image.ts @@ -66,6 +66,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * One-off patches included in the Autonomous Database Software Image */ diff --git a/lib/database/lib/model/autonomous-vm-cluster-summary.ts b/lib/database/lib/model/autonomous-vm-cluster-summary.ts index 98942bd5ec..438be809e5 100644 --- a/lib/database/lib/model/autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/autonomous-vm-cluster-summary.ts @@ -182,6 +182,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ diff --git a/lib/database/lib/model/autonomous-vm-cluster.ts b/lib/database/lib/model/autonomous-vm-cluster.ts index b18fb08da2..900f8963ac 100644 --- a/lib/database/lib/model/autonomous-vm-cluster.ts +++ b/lib/database/lib/model/autonomous-vm-cluster.ts @@ -182,6 +182,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ diff --git a/lib/database/lib/model/azure-encryption-key-details.ts b/lib/database/lib/model/azure-encryption-key-details.ts new file mode 100644 index 0000000000..bd462690ee --- /dev/null +++ b/lib/database/lib/model/azure-encryption-key-details.ts @@ -0,0 +1,57 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details for Azure Input + */ +export interface AzureEncryptionKeyDetails extends model.EncryptionKeyLocationDetails { + /** + * Provide the key OCID of a registered Azure key. + */ + "azureEncryptionKeyId": string; + + "providerType": string; +} + +export namespace AzureEncryptionKeyDetails { + export function getJsonObj(obj: AzureEncryptionKeyDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getJsonObj(obj) as AzureEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } + export const providerType = "AZURE"; + export function getDeserializedJsonObj( + obj: AzureEncryptionKeyDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getDeserializedJsonObj( + obj + ) as AzureEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/backup-destination-summary.ts b/lib/database/lib/model/backup-destination-summary.ts index d5eacc68fc..b255dff70b 100644 --- a/lib/database/lib/model/backup-destination-summary.ts +++ b/lib/database/lib/model/backup-destination-summary.ts @@ -92,6 +92,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The total storage size of the backup destination in GBs, rounded to the nearest integer. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/backup-destination.ts b/lib/database/lib/model/backup-destination.ts index 9f6046002b..de73daec2c 100644 --- a/lib/database/lib/model/backup-destination.ts +++ b/lib/database/lib/model/backup-destination.ts @@ -92,6 +92,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The total storage size of the backup destination in GBs, rounded to the nearest integer. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/backup-summary.ts b/lib/database/lib/model/backup-summary.ts index fc4b3cf38a..b6f910da2f 100644 --- a/lib/database/lib/model/backup-summary.ts +++ b/lib/database/lib/model/backup-summary.ts @@ -127,7 +127,9 @@ export interface BackupSummary { * Type of the backup destination. */ "backupDestinationType"?: BackupSummary.BackupDestinationType; - "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; } export namespace BackupSummary { diff --git a/lib/database/lib/model/backup.ts b/lib/database/lib/model/backup.ts index b3cfcbf671..6917942b77 100644 --- a/lib/database/lib/model/backup.ts +++ b/lib/database/lib/model/backup.ts @@ -120,7 +120,9 @@ export interface Backup { * Type of the backup destination. */ "backupDestinationType"?: Backup.BackupDestinationType; - "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; } export namespace Backup { diff --git a/lib/database/lib/model/change-cloud-autonomous-vm-cluster-subscription-details.ts b/lib/database/lib/model/change-cloud-autonomous-vm-cluster-subscription-details.ts new file mode 100644 index 0000000000..d4902d308c --- /dev/null +++ b/lib/database/lib/model/change-cloud-autonomous-vm-cluster-subscription-details.ts @@ -0,0 +1,47 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * The configuration details for associating the Cloud Autonomous VM cluster resource with a different subscription. + * + */ +export interface ChangeCloudAutonomousVmClusterSubscriptionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * Indicates if the subscription is UCM or not. + * + */ + "isDefault"?: boolean; +} + +export namespace ChangeCloudAutonomousVmClusterSubscriptionDetails { + export function getJsonObj(obj: ChangeCloudAutonomousVmClusterSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeCloudAutonomousVmClusterSubscriptionDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts index 9da00b7043..656fe98fdc 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts @@ -280,6 +280,16 @@ Example: {@code {\"Department\": \"Finance\"}} * The lowest value to which maximum number of ACDs can be scaled down. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxAcdsLowestScaledValue"?: number; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; } export namespace CloudAutonomousVmClusterSummary { diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts index 95656a1316..013bea3055 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts @@ -280,6 +280,16 @@ Example: {@code {\"Department\": \"Finance\"}} * The lowest value to which maximum number of ACDs can be scaled down. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxAcdsLowestScaledValue"?: number; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; } export namespace CloudAutonomousVmCluster { diff --git a/lib/database/lib/model/cloud-vm-cluster-summary.ts b/lib/database/lib/model/cloud-vm-cluster-summary.ts index 57771a234e..543f309e81 100644 --- a/lib/database/lib/model/cloud-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-vm-cluster-summary.ts @@ -294,6 +294,14 @@ Example: {@code {\"Department\": \"Finance\"}} * The compute model of the Autonomous Database. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ "computeModel"?: CloudVmClusterSummary.ComputeModel; + /** + * Details of the multi cloud identity connectors of the VM cluster. + */ + "multiCloudIdentityConnectorConfigs"?: Array; + /** + * TDE keystore type + */ + "tdeKeyStoreType"?: CloudVmClusterSummary.TdeKeyStoreType; } export namespace CloudVmClusterSummary { @@ -352,6 +360,16 @@ export namespace CloudVmClusterSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum TdeKeyStoreType { + Azure = "AZURE", + Oci = "OCI", + /** + * 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" + } + export function getJsonObj(obj: CloudVmClusterSummary): object { const jsonObj = { ...obj, @@ -367,6 +385,12 @@ export namespace CloudVmClusterSummary { : undefined, "cloudAutomationUpdateDetails": obj.cloudAutomationUpdateDetails ? model.CloudAutomationUpdateDetails.getJsonObj(obj.cloudAutomationUpdateDetails) + : undefined, + + "multiCloudIdentityConnectorConfigs": obj.multiCloudIdentityConnectorConfigs + ? obj.multiCloudIdentityConnectorConfigs.map(item => { + return model.IdentityConnectorDetails.getJsonObj(item); + }) : undefined } }; @@ -390,6 +414,12 @@ export namespace CloudVmClusterSummary { ? model.CloudAutomationUpdateDetails.getDeserializedJsonObj( obj.cloudAutomationUpdateDetails ) + : undefined, + + "multiCloudIdentityConnectorConfigs": obj.multiCloudIdentityConnectorConfigs + ? obj.multiCloudIdentityConnectorConfigs.map(item => { + return model.IdentityConnectorDetails.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/cloud-vm-cluster.ts b/lib/database/lib/model/cloud-vm-cluster.ts index 53a8ae7798..181b1aa356 100644 --- a/lib/database/lib/model/cloud-vm-cluster.ts +++ b/lib/database/lib/model/cloud-vm-cluster.ts @@ -295,6 +295,14 @@ Example: {@code {\"Department\": \"Finance\"}} * The compute model of the Autonomous Database. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ "computeModel"?: CloudVmCluster.ComputeModel; + /** + * Details of the multi cloud identity connectors of the VM cluster. + */ + "multiCloudIdentityConnectorConfigs"?: Array; + /** + * TDE keystore type + */ + "tdeKeyStoreType"?: CloudVmCluster.TdeKeyStoreType; } export namespace CloudVmCluster { @@ -353,6 +361,16 @@ export namespace CloudVmCluster { UnknownValue = "UNKNOWN_VALUE" } + export enum TdeKeyStoreType { + Azure = "AZURE", + Oci = "OCI", + /** + * 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" + } + export function getJsonObj(obj: CloudVmCluster): object { const jsonObj = { ...obj, @@ -372,6 +390,12 @@ export namespace CloudVmCluster { : undefined, "cloudAutomationUpdateDetails": obj.cloudAutomationUpdateDetails ? model.CloudAutomationUpdateDetails.getJsonObj(obj.cloudAutomationUpdateDetails) + : undefined, + + "multiCloudIdentityConnectorConfigs": obj.multiCloudIdentityConnectorConfigs + ? obj.multiCloudIdentityConnectorConfigs.map(item => { + return model.IdentityConnectorDetails.getJsonObj(item); + }) : undefined } }; @@ -399,6 +423,12 @@ export namespace CloudVmCluster { ? model.CloudAutomationUpdateDetails.getDeserializedJsonObj( obj.cloudAutomationUpdateDetails ) + : undefined, + + "multiCloudIdentityConnectorConfigs": obj.multiCloudIdentityConnectorConfigs + ? obj.multiCloudIdentityConnectorConfigs.map(item => { + return model.IdentityConnectorDetails.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/create-cloud-autonomous-vm-cluster-details.ts b/lib/database/lib/model/create-cloud-autonomous-vm-cluster-details.ts index f762e5aa73..79410c14a3 100644 --- a/lib/database/lib/model/create-cloud-autonomous-vm-cluster-details.ts +++ b/lib/database/lib/model/create-cloud-autonomous-vm-cluster-details.ts @@ -122,6 +122,10 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "securityAttributes"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; } export namespace CreateCloudAutonomousVmClusterDetails { diff --git a/lib/database/lib/model/create-data-guard-association-details.ts b/lib/database/lib/model/create-data-guard-association-details.ts index 033fdc0fc6..f57d572ada 100644 --- a/lib/database/lib/model/create-data-guard-association-details.ts +++ b/lib/database/lib/model/create-data-guard-association-details.ts @@ -43,7 +43,9 @@ The password must contain no fewer than nine characters and include: * */ "databaseAdminPassword": string; - "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "sourceEncryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; /** * The protection mode to set up between the primary and standby databases. For more information, see * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) diff --git a/lib/database/lib/model/create-database-details.ts b/lib/database/lib/model/create-database-details.ts index 2c3ba674f1..ba03a4ec9d 100644 --- a/lib/database/lib/model/create-database-details.ts +++ b/lib/database/lib/model/create-database-details.ts @@ -104,7 +104,9 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault. */ "keyStoreId"?: string; - "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; } export namespace CreateDatabaseDetails { diff --git a/lib/database/lib/model/create-database-from-backup-details.ts b/lib/database/lib/model/create-database-from-backup-details.ts index 1900bf9b3b..6fdcef363b 100644 --- a/lib/database/lib/model/create-database-from-backup-details.ts +++ b/lib/database/lib/model/create-database-from-backup-details.ts @@ -24,7 +24,9 @@ export interface CreateDatabaseFromBackupDetails { * The password to open the TDE wallet. */ "backupTDEPassword"?: string; - "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "sourceEncryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; /** * A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -. */ diff --git a/lib/database/lib/model/create-standby-details.ts b/lib/database/lib/model/create-standby-details.ts index e39f7a8c27..54b921bae1 100644 --- a/lib/database/lib/model/create-standby-details.ts +++ b/lib/database/lib/model/create-standby-details.ts @@ -34,7 +34,9 @@ export interface CreateStandbyDetails { * The TDE wallet password of the source database specified by 'sourceDatabaseId'. */ "sourceTdeWalletPassword": string; - "sourceEncryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "sourceEncryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; /** * True if active Data Guard is enabled. */ diff --git a/lib/database/lib/model/database-software-image-summary.ts b/lib/database/lib/model/database-software-image-summary.ts index 5b31e2176d..c16f9c37dc 100644 --- a/lib/database/lib/model/database-software-image-summary.ts +++ b/lib/database/lib/model/database-software-image-summary.ts @@ -80,6 +80,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * List of one-off patches for Database Homes. */ diff --git a/lib/database/lib/model/database-software-image.ts b/lib/database/lib/model/database-software-image.ts index 207293d5fc..fb0c1fba6c 100644 --- a/lib/database/lib/model/database-software-image.ts +++ b/lib/database/lib/model/database-software-image.ts @@ -74,6 +74,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * List of one-off patches for Database Homes. */ diff --git a/lib/database/lib/model/database-summary.ts b/lib/database/lib/model/database-summary.ts index 5d330115bf..f0c921b55b 100644 --- a/lib/database/lib/model/database-summary.ts +++ b/lib/database/lib/model/database-summary.ts @@ -112,6 +112,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The Connection strings used to connect to the Oracle Database. */ @@ -156,7 +162,9 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; "dataGuardGroup"?: model.DataGuardGroup; - "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; } export namespace DatabaseSummary { diff --git a/lib/database/lib/model/database.ts b/lib/database/lib/model/database.ts index d9e5d3ce41..9abb93c0ee 100644 --- a/lib/database/lib/model/database.ts +++ b/lib/database/lib/model/database.ts @@ -104,6 +104,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The Connection strings used to connect to the Oracle Database. */ @@ -148,7 +154,9 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; "dataGuardGroup"?: model.DataGuardGroup; - "encryptionKeyLocationDetails"?: model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails"?: + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; } export namespace Database { diff --git a/lib/database/lib/model/db-home-from-agent-resource-id.ts b/lib/database/lib/model/db-home-from-agent-resource-id.ts index 4992db35e5..0cfdaf748d 100644 --- a/lib/database/lib/model/db-home-from-agent-resource-id.ts +++ b/lib/database/lib/model/db-home-from-agent-resource-id.ts @@ -82,6 +82,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The database software image [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) */ diff --git a/lib/database/lib/model/db-home-summary.ts b/lib/database/lib/model/db-home-summary.ts index 9556f21468..cd35b2f3ab 100644 --- a/lib/database/lib/model/db-home-summary.ts +++ b/lib/database/lib/model/db-home-summary.ts @@ -94,6 +94,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The database software image [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) */ diff --git a/lib/database/lib/model/db-home.ts b/lib/database/lib/model/db-home.ts index c61a1c8597..78f0ead681 100644 --- a/lib/database/lib/model/db-home.ts +++ b/lib/database/lib/model/db-home.ts @@ -82,6 +82,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The database software image [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) */ diff --git a/lib/database/lib/model/db-node-summary.ts b/lib/database/lib/model/db-node-summary.ts index 598e849afa..e676ce8581 100644 --- a/lib/database/lib/model/db-node-summary.ts +++ b/lib/database/lib/model/db-node-summary.ts @@ -139,6 +139,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * Information about the current lifecycle state. */ diff --git a/lib/database/lib/model/db-node.ts b/lib/database/lib/model/db-node.ts index 56533ff08c..430355ce1b 100644 --- a/lib/database/lib/model/db-node.ts +++ b/lib/database/lib/model/db-node.ts @@ -131,6 +131,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * Information about the current lifecycle state. */ diff --git a/lib/database/lib/model/db-server-summary.ts b/lib/database/lib/model/db-server-summary.ts index 42f8cd25af..20146a5b37 100644 --- a/lib/database/lib/model/db-server-summary.ts +++ b/lib/database/lib/model/db-server-summary.ts @@ -112,6 +112,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The compute model of the Autonomous Database. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ diff --git a/lib/database/lib/model/db-server.ts b/lib/database/lib/model/db-server.ts index 14ff011cd1..2e426485f5 100644 --- a/lib/database/lib/model/db-server.ts +++ b/lib/database/lib/model/db-server.ts @@ -112,6 +112,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The compute model of the Autonomous Database. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ diff --git a/lib/database/lib/model/db-system-summary.ts b/lib/database/lib/model/db-system-summary.ts index 6ce069f924..bc3e790d44 100644 --- a/lib/database/lib/model/db-system-summary.ts +++ b/lib/database/lib/model/db-system-summary.ts @@ -289,6 +289,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/database/lib/model/db-system.ts b/lib/database/lib/model/db-system.ts index ea06f8b58a..1f4fe705be 100644 --- a/lib/database/lib/model/db-system.ts +++ b/lib/database/lib/model/db-system.ts @@ -265,6 +265,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/database/lib/model/encryption-key-location-details.ts b/lib/database/lib/model/encryption-key-location-details.ts index 22e4bdd088..9da33df78b 100644 --- a/lib/database/lib/model/encryption-key-location-details.ts +++ b/lib/database/lib/model/encryption-key-location-details.ts @@ -33,6 +33,11 @@ export namespace EncryptionKeyLocationDetails { (jsonObj), true ); + case "AZURE": + return model.AzureEncryptionKeyDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.providerType}`); } @@ -49,6 +54,11 @@ export namespace EncryptionKeyLocationDetails { (jsonObj), true ); + case "AZURE": + return model.AzureEncryptionKeyDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.providerType}`); } diff --git a/lib/database/lib/model/exadata-infrastructure-summary.ts b/lib/database/lib/model/exadata-infrastructure-summary.ts index f40b21a977..f7322e999e 100644 --- a/lib/database/lib/model/exadata-infrastructure-summary.ts +++ b/lib/database/lib/model/exadata-infrastructure-summary.ts @@ -225,6 +225,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * If true, the infrastructure is using granular maintenance scheduling preference. */ diff --git a/lib/database/lib/model/exadata-infrastructure.ts b/lib/database/lib/model/exadata-infrastructure.ts index 6a064d8853..69bc6c6597 100644 --- a/lib/database/lib/model/exadata-infrastructure.ts +++ b/lib/database/lib/model/exadata-infrastructure.ts @@ -223,6 +223,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * If true, the infrastructure is using granular maintenance scheduling preference. */ diff --git a/lib/database/lib/model/execution-action-summary.ts b/lib/database/lib/model/execution-action-summary.ts index e4f397b6fc..ba6cbc2b80 100644 --- a/lib/database/lib/model/execution-action-summary.ts +++ b/lib/database/lib/model/execution-action-summary.ts @@ -103,6 +103,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ExecutionActionSummary { diff --git a/lib/database/lib/model/execution-action.ts b/lib/database/lib/model/execution-action.ts index 27ff721fc8..b2c630e551 100644 --- a/lib/database/lib/model/execution-action.ts +++ b/lib/database/lib/model/execution-action.ts @@ -103,6 +103,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ExecutionAction { diff --git a/lib/database/lib/model/execution-window-summary.ts b/lib/database/lib/model/execution-window-summary.ts index 2bc399db4b..44ca8b215b 100644 --- a/lib/database/lib/model/execution-window-summary.ts +++ b/lib/database/lib/model/execution-window-summary.ts @@ -110,6 +110,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ExecutionWindowSummary { diff --git a/lib/database/lib/model/execution-window.ts b/lib/database/lib/model/execution-window.ts index 8fb65f6c38..fed652eca1 100644 --- a/lib/database/lib/model/execution-window.ts +++ b/lib/database/lib/model/execution-window.ts @@ -110,6 +110,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ExecutionWindow { diff --git a/lib/database/lib/model/external-container-database-summary.ts b/lib/database/lib/model/external-container-database-summary.ts index a9716202f5..d5d879027a 100644 --- a/lib/database/lib/model/external-container-database-summary.ts +++ b/lib/database/lib/model/external-container-database-summary.ts @@ -38,6 +38,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-container-database.ts b/lib/database/lib/model/external-container-database.ts index ff3eac1779..96e94c36fb 100644 --- a/lib/database/lib/model/external-container-database.ts +++ b/lib/database/lib/model/external-container-database.ts @@ -38,6 +38,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-database-base.ts b/lib/database/lib/model/external-database-base.ts index a5af9ebd6a..1a2ab39ed0 100644 --- a/lib/database/lib/model/external-database-base.ts +++ b/lib/database/lib/model/external-database-base.ts @@ -38,6 +38,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-database-connector-summary.ts b/lib/database/lib/model/external-database-connector-summary.ts index 6fd1858fbd..a1709bdadf 100644 --- a/lib/database/lib/model/external-database-connector-summary.ts +++ b/lib/database/lib/model/external-database-connector-summary.ts @@ -40,6 +40,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the * {@link #createExternalDatabaseConnectorDetails(CreateExternalDatabaseConnectorDetailsRequest) createExternalDatabaseConnectorDetails}. diff --git a/lib/database/lib/model/external-database-connector.ts b/lib/database/lib/model/external-database-connector.ts index 2338e691df..94be243676 100644 --- a/lib/database/lib/model/external-database-connector.ts +++ b/lib/database/lib/model/external-database-connector.ts @@ -40,6 +40,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the * {@link #createExternalDatabaseConnectorDetails(CreateExternalDatabaseConnectorDetailsRequest) createExternalDatabaseConnectorDetails}. diff --git a/lib/database/lib/model/external-non-container-database-summary.ts b/lib/database/lib/model/external-non-container-database-summary.ts index 0498ca395f..be63fda1d3 100644 --- a/lib/database/lib/model/external-non-container-database-summary.ts +++ b/lib/database/lib/model/external-non-container-database-summary.ts @@ -40,6 +40,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-non-container-database.ts b/lib/database/lib/model/external-non-container-database.ts index 855358cb36..5818745774 100644 --- a/lib/database/lib/model/external-non-container-database.ts +++ b/lib/database/lib/model/external-non-container-database.ts @@ -38,6 +38,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-pluggable-database-summary.ts b/lib/database/lib/model/external-pluggable-database-summary.ts index 81be030c6a..8e3f1654ae 100644 --- a/lib/database/lib/model/external-pluggable-database-summary.ts +++ b/lib/database/lib/model/external-pluggable-database-summary.ts @@ -52,6 +52,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/external-pluggable-database.ts b/lib/database/lib/model/external-pluggable-database.ts index 155f9e7666..81e8c7402a 100644 --- a/lib/database/lib/model/external-pluggable-database.ts +++ b/lib/database/lib/model/external-pluggable-database.ts @@ -51,6 +51,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The user-friendly name for the external database. The name does not have to be unique. */ diff --git a/lib/database/lib/model/identity-connector-details.ts b/lib/database/lib/model/identity-connector-details.ts new file mode 100644 index 0000000000..19d2af5382 --- /dev/null +++ b/lib/database/lib/model/identity-connector-details.ts @@ -0,0 +1,52 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the identity connector + */ +export interface IdentityConnectorDetails { + /** + * The OCID of the identity connector + */ + "id"?: string; + /** + * Cloud provider + */ + "cloudProvider"?: IdentityConnectorDetails.CloudProvider; +} + +export namespace IdentityConnectorDetails { + export enum CloudProvider { + Azure = "AZURE", + /** + * 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" + } + + export function getJsonObj(obj: IdentityConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IdentityConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index d654e802c3..3325db9cdf 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -168,6 +168,8 @@ import * as ChangeAutonomousVmClusterCompartmentDetails from "./change-autonomou export import ChangeAutonomousVmClusterCompartmentDetails = ChangeAutonomousVmClusterCompartmentDetails.ChangeAutonomousVmClusterCompartmentDetails; import * as ChangeCloudAutonomousVmClusterCompartmentDetails from "./change-cloud-autonomous-vm-cluster-compartment-details"; export import ChangeCloudAutonomousVmClusterCompartmentDetails = ChangeCloudAutonomousVmClusterCompartmentDetails.ChangeCloudAutonomousVmClusterCompartmentDetails; +import * as ChangeCloudAutonomousVmClusterSubscriptionDetails from "./change-cloud-autonomous-vm-cluster-subscription-details"; +export import ChangeCloudAutonomousVmClusterSubscriptionDetails = ChangeCloudAutonomousVmClusterSubscriptionDetails.ChangeCloudAutonomousVmClusterSubscriptionDetails; import * as ChangeCloudExadataInfrastructureCompartmentDetails from "./change-cloud-exadata-infrastructure-compartment-details"; export import ChangeCloudExadataInfrastructureCompartmentDetails = ChangeCloudExadataInfrastructureCompartmentDetails.ChangeCloudExadataInfrastructureCompartmentDetails; import * as ChangeCloudExadataInfrastructureSubscriptionDetails from "./change-cloud-exadata-infrastructure-subscription-details"; @@ -584,6 +586,8 @@ import * as GiVersionSummary from "./gi-version-summary"; export import GiVersionSummary = GiVersionSummary.GiVersionSummary; import * as GranularMaintenanceHistoryDetails from "./granular-maintenance-history-details"; export import GranularMaintenanceHistoryDetails = GranularMaintenanceHistoryDetails.GranularMaintenanceHistoryDetails; +import * as IdentityConnectorDetails from "./identity-connector-details"; +export import IdentityConnectorDetails = IdentityConnectorDetails.IdentityConnectorDetails; import * as InfoForNetworkGenDetails from "./info-for-network-gen-details"; export import InfoForNetworkGenDetails = InfoForNetworkGenDetails.InfoForNetworkGenDetails; import * as InfrastructureTargetVersion from "./infrastructure-target-version"; @@ -680,6 +684,8 @@ import * as RefreshableCloneSummary from "./refreshable-clone-summary"; export import RefreshableCloneSummary = RefreshableCloneSummary.RefreshableCloneSummary; import * as RegisterAutonomousDatabaseDataSafeDetails from "./register-autonomous-database-data-safe-details"; export import RegisterAutonomousDatabaseDataSafeDetails = RegisterAutonomousDatabaseDataSafeDetails.RegisterAutonomousDatabaseDataSafeDetails; +import * as RegisterCloudVmClusterPkcsDetails from "./register-cloud-vm-cluster-pkcs-details"; +export import RegisterCloudVmClusterPkcsDetails = RegisterCloudVmClusterPkcsDetails.RegisterCloudVmClusterPkcsDetails; import * as ReinstateDataGuardAssociationDetails from "./reinstate-data-guard-association-details"; export import ReinstateDataGuardAssociationDetails = ReinstateDataGuardAssociationDetails.ReinstateDataGuardAssociationDetails; import * as ReinstateDataGuardDetails from "./reinstate-data-guard-details"; @@ -698,6 +704,10 @@ import * as ReorderScheduledActionsDetails from "./reorder-scheduled-actions-det export import ReorderScheduledActionsDetails = ReorderScheduledActionsDetails.ReorderScheduledActionsDetails; import * as ResizeVmClusterNetworkDetails from "./resize-vm-cluster-network-details"; export import ResizeVmClusterNetworkDetails = ResizeVmClusterNetworkDetails.ResizeVmClusterNetworkDetails; +import * as ResourcePoolMemberCollection from "./resource-pool-member-collection"; +export import ResourcePoolMemberCollection = ResourcePoolMemberCollection.ResourcePoolMemberCollection; +import * as ResourcePoolMemberSummary from "./resource-pool-member-summary"; +export import ResourcePoolMemberSummary = ResourcePoolMemberSummary.ResourcePoolMemberSummary; import * as ResourcePoolShapeCollection from "./resource-pool-shape-collection"; export import ResourcePoolShapeCollection = ResourcePoolShapeCollection.ResourcePoolShapeCollection; import * as ResourcePoolShapeSummary from "./resource-pool-shape-summary"; @@ -766,6 +776,8 @@ import * as SystemVersionMinorVersionSummary from "./system-version-minor-versio export import SystemVersionMinorVersionSummary = SystemVersionMinorVersionSummary.SystemVersionMinorVersionSummary; import * as SystemVersionSummary from "./system-version-summary"; export import SystemVersionSummary = SystemVersionSummary.SystemVersionSummary; +import * as UnregisterCloudVmClusterPkcsDetails from "./unregister-cloud-vm-cluster-pkcs-details"; +export import UnregisterCloudVmClusterPkcsDetails = UnregisterCloudVmClusterPkcsDetails.UnregisterCloudVmClusterPkcsDetails; import * as Update from "./update"; export import Update = Update.Update; import * as UpdateAutonomousContainerDatabaseDataGuardAssociationDetails from "./update-autonomous-container-database-data-guard-association-details"; @@ -893,6 +905,8 @@ import * as AutomatedMountDetails from "./automated-mount-details"; export import AutomatedMountDetails = AutomatedMountDetails.AutomatedMountDetails; import * as AwsKeyDetails from "./aws-key-details"; export import AwsKeyDetails = AwsKeyDetails.AwsKeyDetails; +import * as AzureEncryptionKeyDetails from "./azure-encryption-key-details"; +export import AzureEncryptionKeyDetails = AzureEncryptionKeyDetails.AzureEncryptionKeyDetails; import * as AzureKeyDetails from "./azure-key-details"; export import AzureKeyDetails = AzureKeyDetails.AzureKeyDetails; import * as CreateAutonomousContainerDatabaseDetails from "./create-autonomous-container-database-details"; diff --git a/lib/database/lib/model/key-store-summary.ts b/lib/database/lib/model/key-store-summary.ts index e500c3241c..c03596daf5 100644 --- a/lib/database/lib/model/key-store-summary.ts +++ b/lib/database/lib/model/key-store-summary.ts @@ -63,6 +63,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace KeyStoreSummary { diff --git a/lib/database/lib/model/key-store.ts b/lib/database/lib/model/key-store.ts index 4eea012bd5..c00c36889c 100644 --- a/lib/database/lib/model/key-store.ts +++ b/lib/database/lib/model/key-store.ts @@ -63,6 +63,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace KeyStore { diff --git a/lib/database/lib/model/maintenance-run-history-summary.ts b/lib/database/lib/model/maintenance-run-history-summary.ts index 19e8090119..a78f51dcb0 100644 --- a/lib/database/lib/model/maintenance-run-history-summary.ts +++ b/lib/database/lib/model/maintenance-run-history-summary.ts @@ -36,6 +36,12 @@ export interface MaintenanceRunHistorySummary { * The list of granular maintenance history details. */ "granularMaintenanceHistory"?: Array; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace MaintenanceRunHistorySummary { diff --git a/lib/database/lib/model/maintenance-run-history.ts b/lib/database/lib/model/maintenance-run-history.ts index 57eda36824..9d32d861a1 100644 --- a/lib/database/lib/model/maintenance-run-history.ts +++ b/lib/database/lib/model/maintenance-run-history.ts @@ -37,6 +37,12 @@ export interface MaintenanceRunHistory { * The list of granular maintenance history details. */ "granularMaintenanceHistory"?: Array; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace MaintenanceRunHistory { diff --git a/lib/database/lib/model/maintenance-run-summary.ts b/lib/database/lib/model/maintenance-run-summary.ts index 777d0cb2bd..f0549bd73d 100644 --- a/lib/database/lib/model/maintenance-run-summary.ts +++ b/lib/database/lib/model/maintenance-run-summary.ts @@ -143,6 +143,12 @@ export interface MaintenanceRunSummary { * The estimated start time of the next infrastruture component patching operation. */ "estimatedComponentPatchingStartTime"?: Date; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * If {@code FALSE}, the maintenance run doesn't support granular maintenance. */ diff --git a/lib/database/lib/model/maintenance-run.ts b/lib/database/lib/model/maintenance-run.ts index e84d7adc4c..fefc92c0ef 100644 --- a/lib/database/lib/model/maintenance-run.ts +++ b/lib/database/lib/model/maintenance-run.ts @@ -143,6 +143,12 @@ export interface MaintenanceRun { * The estimated start time of the next infrastruture component patching operation. */ "estimatedComponentPatchingStartTime"?: Date; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * If {@code FALSE}, the maintenance run doesn't support granular maintenance. */ diff --git a/lib/database/lib/model/oneoff-patch-summary.ts b/lib/database/lib/model/oneoff-patch-summary.ts index 7244a9adc5..69d699fb0f 100644 --- a/lib/database/lib/model/oneoff-patch-summary.ts +++ b/lib/database/lib/model/oneoff-patch-summary.ts @@ -93,6 +93,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace OneoffPatchSummary { diff --git a/lib/database/lib/model/oneoff-patch.ts b/lib/database/lib/model/oneoff-patch.ts index 657f925aed..dcedf36c97 100644 --- a/lib/database/lib/model/oneoff-patch.ts +++ b/lib/database/lib/model/oneoff-patch.ts @@ -89,6 +89,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace OneoffPatch { diff --git a/lib/database/lib/model/pluggable-database-summary.ts b/lib/database/lib/model/pluggable-database-summary.ts index 9e9972d9e2..47819170c9 100644 --- a/lib/database/lib/model/pluggable-database-summary.ts +++ b/lib/database/lib/model/pluggable-database-summary.ts @@ -78,6 +78,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "pluggableDatabaseManagementConfig"?: model.PluggableDatabaseManagementConfig; /** * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. diff --git a/lib/database/lib/model/pluggable-database.ts b/lib/database/lib/model/pluggable-database.ts index 88c7f740cb..1ea90a71a0 100644 --- a/lib/database/lib/model/pluggable-database.ts +++ b/lib/database/lib/model/pluggable-database.ts @@ -78,6 +78,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "pluggableDatabaseManagementConfig"?: model.PluggableDatabaseManagementConfig; /** * The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. diff --git a/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts b/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts new file mode 100644 index 0000000000..601da1c449 --- /dev/null +++ b/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts @@ -0,0 +1,45 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of registering PKCS11 driver. + * + */ +export interface RegisterCloudVmClusterPkcsDetails { + /** + * TDE keystore type + */ + "tdeKeyStoreType": RegisterCloudVmClusterPkcsDetails.TdeKeyStoreType; +} + +export namespace RegisterCloudVmClusterPkcsDetails { + export enum TdeKeyStoreType { + Azure = "AZURE", + Oci = "OCI" + } + + export function getJsonObj(obj: RegisterCloudVmClusterPkcsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RegisterCloudVmClusterPkcsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/resource-pool-member-collection.ts b/lib/database/lib/model/resource-pool-member-collection.ts new file mode 100644 index 0000000000..cbea1ab8ea --- /dev/null +++ b/lib/database/lib/model/resource-pool-member-collection.ts @@ -0,0 +1,57 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A list of Autonomous Database resource pool member OCIDs. + */ +export interface ResourcePoolMemberCollection { + /** + * List of resource pool member summary. + */ + "items": Array; +} + +export namespace ResourcePoolMemberCollection { + export function getJsonObj(obj: ResourcePoolMemberCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ResourcePoolMemberSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourcePoolMemberCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ResourcePoolMemberSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/resource-pool-member-summary.ts b/lib/database/lib/model/resource-pool-member-summary.ts new file mode 100644 index 0000000000..3bf47afc08 --- /dev/null +++ b/lib/database/lib/model/resource-pool-member-summary.ts @@ -0,0 +1,39 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * An Autonomous Database resource pool member summary. + */ +export interface ResourcePoolMemberSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + */ + "id": string; +} + +export namespace ResourcePoolMemberSummary { + export function getJsonObj(obj: ResourcePoolMemberSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourcePoolMemberSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/scheduling-policy-summary.ts b/lib/database/lib/model/scheduling-policy-summary.ts index 15597eaa6f..229db93991 100644 --- a/lib/database/lib/model/scheduling-policy-summary.ts +++ b/lib/database/lib/model/scheduling-policy-summary.ts @@ -75,6 +75,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace SchedulingPolicySummary { diff --git a/lib/database/lib/model/scheduling-policy.ts b/lib/database/lib/model/scheduling-policy.ts index 643e046787..2d07f10979 100644 --- a/lib/database/lib/model/scheduling-policy.ts +++ b/lib/database/lib/model/scheduling-policy.ts @@ -75,6 +75,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace SchedulingPolicy { diff --git a/lib/database/lib/model/scheduling-window-summary.ts b/lib/database/lib/model/scheduling-window-summary.ts index 1c93fe40fc..6073511b6c 100644 --- a/lib/database/lib/model/scheduling-window-summary.ts +++ b/lib/database/lib/model/scheduling-window-summary.ts @@ -72,6 +72,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace SchedulingWindowSummary { diff --git a/lib/database/lib/model/scheduling-window.ts b/lib/database/lib/model/scheduling-window.ts index ed491e9827..5375aafdd0 100644 --- a/lib/database/lib/model/scheduling-window.ts +++ b/lib/database/lib/model/scheduling-window.ts @@ -72,6 +72,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace SchedulingWindow { diff --git a/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts b/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts new file mode 100644 index 0000000000..986ed12fc3 --- /dev/null +++ b/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts @@ -0,0 +1,45 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of unregistering PKCS11 driver. + * + */ +export interface UnregisterCloudVmClusterPkcsDetails { + /** + * TDE keystore type + */ + "tdeKeyStoreType": UnregisterCloudVmClusterPkcsDetails.TdeKeyStoreType; +} + +export namespace UnregisterCloudVmClusterPkcsDetails { + export enum TdeKeyStoreType { + Azure = "AZURE", + Oci = "OCI" + } + + export function getJsonObj(obj: UnregisterCloudVmClusterPkcsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnregisterCloudVmClusterPkcsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/vm-cluster-network-summary.ts b/lib/database/lib/model/vm-cluster-network-summary.ts index 28935b2009..ec2c37a720 100644 --- a/lib/database/lib/model/vm-cluster-network-summary.ts +++ b/lib/database/lib/model/vm-cluster-network-summary.ts @@ -99,6 +99,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace VmClusterNetworkSummary { diff --git a/lib/database/lib/model/vm-cluster-network.ts b/lib/database/lib/model/vm-cluster-network.ts index 4c4b2998cb..c4dab98dd3 100644 --- a/lib/database/lib/model/vm-cluster-network.ts +++ b/lib/database/lib/model/vm-cluster-network.ts @@ -98,6 +98,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace VmClusterNetwork { diff --git a/lib/database/lib/model/vm-cluster-summary.ts b/lib/database/lib/model/vm-cluster-summary.ts index 6d7458c375..199d5bbb97 100644 --- a/lib/database/lib/model/vm-cluster-summary.ts +++ b/lib/database/lib/model/vm-cluster-summary.ts @@ -138,6 +138,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "dataCollectionOptions"?: model.DataCollectionOptions; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a grid infrastructure software image. This is a database software image of the type {@code GRID_IMAGE}. diff --git a/lib/database/lib/model/vm-cluster.ts b/lib/database/lib/model/vm-cluster.ts index 4a99baa1c2..b0f7dd1295 100644 --- a/lib/database/lib/model/vm-cluster.ts +++ b/lib/database/lib/model/vm-cluster.ts @@ -138,6 +138,12 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "dataCollectionOptions"?: model.DataCollectionOptions; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a grid infrastructure software image. This is a database software image of the type {@code GRID_IMAGE}. diff --git a/lib/database/lib/request/change-cloud-autonomous-vm-cluster-subscription-request.ts b/lib/database/lib/request/change-cloud-autonomous-vm-cluster-subscription-request.ts new file mode 100644 index 0000000000..0372d25bcd --- /dev/null +++ b/lib/database/lib/request/change-cloud-autonomous-vm-cluster-subscription-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ChangeCloudAutonomousVmClusterSubscription.ts.html |here} to see how to use ChangeCloudAutonomousVmClusterSubscriptionRequest. + */ +export interface ChangeCloudAutonomousVmClusterSubscriptionRequest extends common.BaseRequest { + /** + * Associate a Cloud Autonomous VM cluster with a different subscription. + */ + "changeCloudAutonomousVmClusterSubscriptionDetails": model.ChangeCloudAutonomousVmClusterSubscriptionDetails; + /** + * The Cloud VM cluster [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "cloudAutonomousVmClusterId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/database/lib/request/change-encryption-key-location-request.ts b/lib/database/lib/request/change-encryption-key-location-request.ts index 77ff2146c4..68d00400c7 100644 --- a/lib/database/lib/request/change-encryption-key-location-request.ts +++ b/lib/database/lib/request/change-encryption-key-location-request.ts @@ -25,7 +25,9 @@ export interface ChangeEncryptionKeyLocationRequest extends common.BaseRequest { /** * Request to change the source of the encryption key for the database. */ - "encryptionKeyLocationDetails": model.ExternalHsmEncryptionDetails; + "encryptionKeyLocationDetails": + | model.ExternalHsmEncryptionDetails + | model.AzureEncryptionKeyDetails; /** * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} * parameter to the value of the etag from a previous GET or POST response for that resource. The resource diff --git a/lib/database/lib/request/create-cloud-autonomous-vm-cluster-request.ts b/lib/database/lib/request/create-cloud-autonomous-vm-cluster-request.ts index 57ebc343ad..2a3ccee3f9 100644 --- a/lib/database/lib/request/create-cloud-autonomous-vm-cluster-request.ts +++ b/lib/database/lib/request/create-cloud-autonomous-vm-cluster-request.ts @@ -36,4 +36,10 @@ export interface CreateCloudAutonomousVmClusterRequest extends common.BaseReques * */ "opcRequestId"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually + * creating or updating a resource and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: boolean; } diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index a773172635..42558ead4c 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -48,6 +48,8 @@ import * as ChangeBackupDestinationCompartmentRequest from "./change-backup-dest export import ChangeBackupDestinationCompartmentRequest = ChangeBackupDestinationCompartmentRequest.ChangeBackupDestinationCompartmentRequest; import * as ChangeCloudAutonomousVmClusterCompartmentRequest from "./change-cloud-autonomous-vm-cluster-compartment-request"; export import ChangeCloudAutonomousVmClusterCompartmentRequest = ChangeCloudAutonomousVmClusterCompartmentRequest.ChangeCloudAutonomousVmClusterCompartmentRequest; +import * as ChangeCloudAutonomousVmClusterSubscriptionRequest from "./change-cloud-autonomous-vm-cluster-subscription-request"; +export import ChangeCloudAutonomousVmClusterSubscriptionRequest = ChangeCloudAutonomousVmClusterSubscriptionRequest.ChangeCloudAutonomousVmClusterSubscriptionRequest; import * as ChangeCloudExadataInfrastructureCompartmentRequest from "./change-cloud-exadata-infrastructure-compartment-request"; export import ChangeCloudExadataInfrastructureCompartmentRequest = ChangeCloudExadataInfrastructureCompartmentRequest.ChangeCloudExadataInfrastructureCompartmentRequest; import * as ChangeCloudExadataInfrastructureSubscriptionRequest from "./change-cloud-exadata-infrastructure-subscription-request"; @@ -624,6 +626,8 @@ import * as ListPluggableDatabasesRequest from "./list-pluggable-databases-reque export import ListPluggableDatabasesRequest = ListPluggableDatabasesRequest.ListPluggableDatabasesRequest; import * as ListRecommendedScheduledActionsRequest from "./list-recommended-scheduled-actions-request"; export import ListRecommendedScheduledActionsRequest = ListRecommendedScheduledActionsRequest.ListRecommendedScheduledActionsRequest; +import * as ListResourcePoolMembersRequest from "./list-resource-pool-members-request"; +export import ListResourcePoolMembersRequest = ListResourcePoolMembersRequest.ListResourcePoolMembersRequest; import * as ListScheduledActionsRequest from "./list-scheduled-actions-request"; export import ListScheduledActionsRequest = ListScheduledActionsRequest.ListScheduledActionsRequest; import * as ListSchedulingPlansRequest from "./list-scheduling-plans-request"; @@ -668,6 +672,8 @@ import * as RefreshPluggableDatabaseRequest from "./refresh-pluggable-database-r export import RefreshPluggableDatabaseRequest = RefreshPluggableDatabaseRequest.RefreshPluggableDatabaseRequest; import * as RegisterAutonomousDatabaseDataSafeRequest from "./register-autonomous-database-data-safe-request"; export import RegisterAutonomousDatabaseDataSafeRequest = RegisterAutonomousDatabaseDataSafeRequest.RegisterAutonomousDatabaseDataSafeRequest; +import * as RegisterCloudVmClusterPkcsRequest from "./register-cloud-vm-cluster-pkcs-request"; +export import RegisterCloudVmClusterPkcsRequest = RegisterCloudVmClusterPkcsRequest.RegisterCloudVmClusterPkcsRequest; import * as ReinstateAutonomousContainerDatabaseDataguardRequest from "./reinstate-autonomous-container-database-dataguard-request"; export import ReinstateAutonomousContainerDatabaseDataguardRequest = ReinstateAutonomousContainerDatabaseDataguardRequest.ReinstateAutonomousContainerDatabaseDataguardRequest; import * as ReinstateAutonomousContainerDatabaseDataguardAssociationRequest from "./reinstate-autonomous-container-database-dataguard-association-request"; @@ -754,6 +760,8 @@ import * as TerminateAutonomousExadataInfrastructureRequest from "./terminate-au export import TerminateAutonomousExadataInfrastructureRequest = TerminateAutonomousExadataInfrastructureRequest.TerminateAutonomousExadataInfrastructureRequest; import * as TerminateDbSystemRequest from "./terminate-db-system-request"; export import TerminateDbSystemRequest = TerminateDbSystemRequest.TerminateDbSystemRequest; +import * as UnregisterCloudVmClusterPkcsRequest from "./unregister-cloud-vm-cluster-pkcs-request"; +export import UnregisterCloudVmClusterPkcsRequest = UnregisterCloudVmClusterPkcsRequest.UnregisterCloudVmClusterPkcsRequest; import * as UpdateAutonomousContainerDatabaseRequest from "./update-autonomous-container-database-request"; export import UpdateAutonomousContainerDatabaseRequest = UpdateAutonomousContainerDatabaseRequest.UpdateAutonomousContainerDatabaseRequest; import * as UpdateAutonomousContainerDatabaseDataguardAssociationRequest from "./update-autonomous-container-database-dataguard-association-request"; diff --git a/lib/database/lib/request/list-resource-pool-members-request.ts b/lib/database/lib/request/list-resource-pool-members-request.ts new file mode 100644 index 0000000000..558ce50dfe --- /dev/null +++ b/lib/database/lib/request/list-resource-pool-members-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListResourcePoolMembers.ts.html |here} to see how to use ListResourcePoolMembersRequest. + */ +export interface ListResourcePoolMembersRequest extends common.BaseRequest { + /** + * The database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "autonomousDatabaseId": string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * The maximum number of items to return per page. + */ + "limit"?: number; + /** + * The pagination token to continue listing from. + */ + "page"?: string; +} diff --git a/lib/database/lib/request/register-cloud-vm-cluster-pkcs-request.ts b/lib/database/lib/request/register-cloud-vm-cluster-pkcs-request.ts new file mode 100644 index 0000000000..77750fe0f3 --- /dev/null +++ b/lib/database/lib/request/register-cloud-vm-cluster-pkcs-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RegisterCloudVmClusterPkcs.ts.html |here} to see how to use RegisterCloudVmClusterPkcsRequest. + */ +export interface RegisterCloudVmClusterPkcsRequest extends common.BaseRequest { + /** + * The cloud VM cluster [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "cloudVmClusterId": string; + /** + * Details of registering PKCS11 driver. + */ + "registerCloudVmClusterPkcsDetails": model.RegisterCloudVmClusterPkcsDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/database/lib/request/unregister-cloud-vm-cluster-pkcs-request.ts b/lib/database/lib/request/unregister-cloud-vm-cluster-pkcs-request.ts new file mode 100644 index 0000000000..4d87873136 --- /dev/null +++ b/lib/database/lib/request/unregister-cloud-vm-cluster-pkcs-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterCloudVmClusterPkcs.ts.html |here} to see how to use UnregisterCloudVmClusterPkcsRequest. + */ +export interface UnregisterCloudVmClusterPkcsRequest extends common.BaseRequest { + /** + * The cloud VM cluster [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "cloudVmClusterId": string; + /** + * Details of registering PKCS11 driver. + */ + "unregisterCloudVmClusterPkcsDetails": model.UnregisterCloudVmClusterPkcsDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/database/lib/request/update-cloud-autonomous-vm-cluster-request.ts b/lib/database/lib/request/update-cloud-autonomous-vm-cluster-request.ts index 4d811c706e..bec9e19dfb 100644 --- a/lib/database/lib/request/update-cloud-autonomous-vm-cluster-request.ts +++ b/lib/database/lib/request/update-cloud-autonomous-vm-cluster-request.ts @@ -38,4 +38,10 @@ export interface UpdateCloudAutonomousVmClusterRequest extends common.BaseReques * */ "opcRequestId"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually + * creating or updating a resource and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: boolean; } diff --git a/lib/database/lib/response/change-cloud-autonomous-vm-cluster-subscription-response.ts b/lib/database/lib/response/change-cloud-autonomous-vm-cluster-subscription-response.ts new file mode 100644 index 0000000000..a855ffd2f3 --- /dev/null +++ b/lib/database/lib/response/change-cloud-autonomous-vm-cluster-subscription-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeCloudAutonomousVmClusterSubscriptionResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index 50a4efae2d..e4a800d8a2 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -48,6 +48,8 @@ import * as ChangeBackupDestinationCompartmentResponse from "./change-backup-des export import ChangeBackupDestinationCompartmentResponse = ChangeBackupDestinationCompartmentResponse.ChangeBackupDestinationCompartmentResponse; import * as ChangeCloudAutonomousVmClusterCompartmentResponse from "./change-cloud-autonomous-vm-cluster-compartment-response"; export import ChangeCloudAutonomousVmClusterCompartmentResponse = ChangeCloudAutonomousVmClusterCompartmentResponse.ChangeCloudAutonomousVmClusterCompartmentResponse; +import * as ChangeCloudAutonomousVmClusterSubscriptionResponse from "./change-cloud-autonomous-vm-cluster-subscription-response"; +export import ChangeCloudAutonomousVmClusterSubscriptionResponse = ChangeCloudAutonomousVmClusterSubscriptionResponse.ChangeCloudAutonomousVmClusterSubscriptionResponse; import * as ChangeCloudExadataInfrastructureCompartmentResponse from "./change-cloud-exadata-infrastructure-compartment-response"; export import ChangeCloudExadataInfrastructureCompartmentResponse = ChangeCloudExadataInfrastructureCompartmentResponse.ChangeCloudExadataInfrastructureCompartmentResponse; import * as ChangeCloudExadataInfrastructureSubscriptionResponse from "./change-cloud-exadata-infrastructure-subscription-response"; @@ -624,6 +626,8 @@ import * as ListPluggableDatabasesResponse from "./list-pluggable-databases-resp export import ListPluggableDatabasesResponse = ListPluggableDatabasesResponse.ListPluggableDatabasesResponse; import * as ListRecommendedScheduledActionsResponse from "./list-recommended-scheduled-actions-response"; export import ListRecommendedScheduledActionsResponse = ListRecommendedScheduledActionsResponse.ListRecommendedScheduledActionsResponse; +import * as ListResourcePoolMembersResponse from "./list-resource-pool-members-response"; +export import ListResourcePoolMembersResponse = ListResourcePoolMembersResponse.ListResourcePoolMembersResponse; import * as ListScheduledActionsResponse from "./list-scheduled-actions-response"; export import ListScheduledActionsResponse = ListScheduledActionsResponse.ListScheduledActionsResponse; import * as ListSchedulingPlansResponse from "./list-scheduling-plans-response"; @@ -668,6 +672,8 @@ import * as RefreshPluggableDatabaseResponse from "./refresh-pluggable-database- export import RefreshPluggableDatabaseResponse = RefreshPluggableDatabaseResponse.RefreshPluggableDatabaseResponse; import * as RegisterAutonomousDatabaseDataSafeResponse from "./register-autonomous-database-data-safe-response"; export import RegisterAutonomousDatabaseDataSafeResponse = RegisterAutonomousDatabaseDataSafeResponse.RegisterAutonomousDatabaseDataSafeResponse; +import * as RegisterCloudVmClusterPkcsResponse from "./register-cloud-vm-cluster-pkcs-response"; +export import RegisterCloudVmClusterPkcsResponse = RegisterCloudVmClusterPkcsResponse.RegisterCloudVmClusterPkcsResponse; import * as ReinstateAutonomousContainerDatabaseDataguardResponse from "./reinstate-autonomous-container-database-dataguard-response"; export import ReinstateAutonomousContainerDatabaseDataguardResponse = ReinstateAutonomousContainerDatabaseDataguardResponse.ReinstateAutonomousContainerDatabaseDataguardResponse; import * as ReinstateAutonomousContainerDatabaseDataguardAssociationResponse from "./reinstate-autonomous-container-database-dataguard-association-response"; @@ -754,6 +760,8 @@ import * as TerminateAutonomousExadataInfrastructureResponse from "./terminate-a export import TerminateAutonomousExadataInfrastructureResponse = TerminateAutonomousExadataInfrastructureResponse.TerminateAutonomousExadataInfrastructureResponse; import * as TerminateDbSystemResponse from "./terminate-db-system-response"; export import TerminateDbSystemResponse = TerminateDbSystemResponse.TerminateDbSystemResponse; +import * as UnregisterCloudVmClusterPkcsResponse from "./unregister-cloud-vm-cluster-pkcs-response"; +export import UnregisterCloudVmClusterPkcsResponse = UnregisterCloudVmClusterPkcsResponse.UnregisterCloudVmClusterPkcsResponse; import * as UpdateAutonomousContainerDatabaseResponse from "./update-autonomous-container-database-response"; export import UpdateAutonomousContainerDatabaseResponse = UpdateAutonomousContainerDatabaseResponse.UpdateAutonomousContainerDatabaseResponse; import * as UpdateAutonomousContainerDatabaseDataguardAssociationResponse from "./update-autonomous-container-database-dataguard-association-response"; diff --git a/lib/database/lib/response/list-resource-pool-members-response.ts b/lib/database/lib/response/list-resource-pool-members-response.ts new file mode 100644 index 0000000000..d49a4124b0 --- /dev/null +++ b/lib/database/lib/response/list-resource-pool-members-response.ts @@ -0,0 +1,36 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListResourcePoolMembersResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then there are additional items still to get. Include this value as the {@code page} parameter for the + * subsequent GET request. For information about pagination, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.ResourcePoolMemberCollection instance. + */ + "resourcePoolMemberCollection": model.ResourcePoolMemberCollection; +} diff --git a/lib/database/lib/response/register-cloud-vm-cluster-pkcs-response.ts b/lib/database/lib/response/register-cloud-vm-cluster-pkcs-response.ts new file mode 100644 index 0000000000..0c84405591 --- /dev/null +++ b/lib/database/lib/response/register-cloud-vm-cluster-pkcs-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface RegisterCloudVmClusterPkcsResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/database/lib/response/unregister-cloud-vm-cluster-pkcs-response.ts b/lib/database/lib/response/unregister-cloud-vm-cluster-pkcs-response.ts new file mode 100644 index 0000000000..f017c4f077 --- /dev/null +++ b/lib/database/lib/response/unregister-cloud-vm-cluster-pkcs-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UnregisterCloudVmClusterPkcsResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/database/package.json b/lib/database/package.json index 7277788236..3c595af009 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 196c362059..11129468d0 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Database Management Service", "repository": { "type": "git", diff --git a/lib/databasemigration/lib/client.ts b/lib/databasemigration/lib/client.ts index fd101b8839..fa591d23b5 100644 --- a/lib/databasemigration/lib/client.ts +++ b/lib/databasemigration/lib/client.ts @@ -631,6 +631,89 @@ export class DatabaseMigrationClient { } } + /** + * Collects the DB trace and alert logs. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CollectTracesRequest + * @return CollectTracesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemigration/CollectTraces.ts.html |here} to see how to use CollectTraces API. + */ + public async collectTraces( + collectTracesRequest: requests.CollectTracesRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseMigrationClient#collectTraces."); + const operationName = "collectTraces"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/CollectTraces"; + const pathParams = { + "{jobId}": collectTracesRequest.jobId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": collectTracesRequest.opcRequestId, + "if-match": collectTracesRequest.ifMatch + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + collectTracesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/jobs/{jobId}/actions/collectTraces", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + collectTracesRequest.collectTracesDetails, + "CollectTracesDetails", + model.CollectTracesDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "job", + bodyModel: model.Job, + type: "model.Job", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Perform connection test for a database connection. * diff --git a/lib/databasemigration/lib/model/collect-traces-data.ts b/lib/databasemigration/lib/model/collect-traces-data.ts new file mode 100644 index 0000000000..dc20e6de2b --- /dev/null +++ b/lib/databasemigration/lib/model/collect-traces-data.ts @@ -0,0 +1,54 @@ +/** + * Database Migration API + * Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. + * OpenAPI spec version: 20230518 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Information regarding the DB trace and alert log collection + */ +export interface CollectTracesData { + /** + * Name of the bucket containing the file. + * + */ + "bucketName": string; + /** + * Object Storage namespace. + * + */ + "namespace": string; + /** + * Object name. + * + */ + "objectName": string; + /** + * Status of trace collection process. + * + */ + "collectTracesState": model.CollectTracesStates; +} + +export namespace CollectTracesData { + export function getJsonObj(obj: CollectTracesData): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CollectTracesData): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/databasemigration/lib/model/collect-traces-details.ts b/lib/databasemigration/lib/model/collect-traces-details.ts new file mode 100644 index 0000000000..c42ac327ec --- /dev/null +++ b/lib/databasemigration/lib/model/collect-traces-details.ts @@ -0,0 +1,50 @@ +/** + * Database Migration API + * Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. + * OpenAPI spec version: 20230518 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details for collecting DB traces and alert logs + * + */ +export interface CollectTracesDetails { + /** + * Name of the bucket containing the file. + * + */ + "bucketName": string; + /** + * Object Storage namespace. + * + */ + "namespace": string; + /** + * Object name prefix. + * + */ + "objectNamePrefix": string; +} + +export namespace CollectTracesDetails { + export function getJsonObj(obj: CollectTracesDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CollectTracesDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/databasemigration/lib/model/collect-traces-states.ts b/lib/databasemigration/lib/model/collect-traces-states.ts new file mode 100644 index 0000000000..8ecb45c3b6 --- /dev/null +++ b/lib/databasemigration/lib/model/collect-traces-states.ts @@ -0,0 +1,40 @@ +/** + * Database Migration API + * Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. + * OpenAPI spec version: 20230518 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible states for trace collection. + * + **/ +export enum CollectTracesStates { + InProgress = "IN_PROGRESS", + Succeeded = "SUCCEEDED", + Failed = "FAILED", + + /** + * 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" +} + +export namespace CollectTracesStates { + export function getJsonObj(obj: CollectTracesStates): CollectTracesStates { + return obj; + } + export function getDeserializedJsonObj(obj: CollectTracesStates): CollectTracesStates { + return obj; + } +} diff --git a/lib/databasemigration/lib/model/index.ts b/lib/databasemigration/lib/model/index.ts index 0ebaa735b3..6b9fc1497e 100644 --- a/lib/databasemigration/lib/model/index.ts +++ b/lib/databasemigration/lib/model/index.ts @@ -29,6 +29,12 @@ import * as ChangeMigrationCompartmentDetails from "./change-migration-compartme export import ChangeMigrationCompartmentDetails = ChangeMigrationCompartmentDetails.ChangeMigrationCompartmentDetails; import * as CloneMigrationDetails from "./clone-migration-details"; export import CloneMigrationDetails = CloneMigrationDetails.CloneMigrationDetails; +import * as CollectTracesData from "./collect-traces-data"; +export import CollectTracesData = CollectTracesData.CollectTracesData; +import * as CollectTracesDetails from "./collect-traces-details"; +export import CollectTracesDetails = CollectTracesDetails.CollectTracesDetails; +import * as CollectTracesStates from "./collect-traces-states"; +export import CollectTracesStates = CollectTracesStates.CollectTracesStates; import * as CompatibilityOption from "./compatibility-option"; export import CompatibilityOption = CompatibilityOption.CompatibilityOption; import * as Connection from "./connection"; diff --git a/lib/databasemigration/lib/model/job.ts b/lib/databasemigration/lib/model/job.ts index 42cac0bdaf..b89ecedc06 100644 --- a/lib/databasemigration/lib/model/job.ts +++ b/lib/databasemigration/lib/model/job.ts @@ -71,6 +71,7 @@ export interface Job { * */ "parameterFileVersions"?: Array; + "collectTracesData"?: model.CollectTracesData; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see Resource Tags. Example: {\"Department\": \"Finance\"} @@ -109,6 +110,9 @@ export namespace Job { ? obj.parameterFileVersions.map(item => { return model.ParameterFileVersionSummary.getJsonObj(item); }) + : undefined, + "collectTracesData": obj.collectTracesData + ? model.CollectTracesData.getJsonObj(obj.collectTracesData) : undefined } }; @@ -132,6 +136,9 @@ export namespace Job { ? obj.parameterFileVersions.map(item => { return model.ParameterFileVersionSummary.getDeserializedJsonObj(item); }) + : undefined, + "collectTracesData": obj.collectTracesData + ? model.CollectTracesData.getDeserializedJsonObj(obj.collectTracesData) : undefined } }; diff --git a/lib/databasemigration/lib/request/collect-traces-request.ts b/lib/databasemigration/lib/request/collect-traces-request.ts new file mode 100644 index 0000000000..531602f3af --- /dev/null +++ b/lib/databasemigration/lib/request/collect-traces-request.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20230518 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemigration/CollectTraces.ts.html |here} to see how to use CollectTracesRequest. + */ +export interface CollectTracesRequest extends common.BaseRequest { + /** + * The OCID of the job + * + */ + "jobId": string; + /** + * Information on where the traces will be stored. + * + */ + "collectTracesDetails": model.CollectTracesDetails; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/databasemigration/lib/request/index.ts b/lib/databasemigration/lib/request/index.ts index 29a694959b..c61bcfd8a5 100644 --- a/lib/databasemigration/lib/request/index.ts +++ b/lib/databasemigration/lib/request/index.ts @@ -21,6 +21,8 @@ import * as ChangeMigrationCompartmentRequest from "./change-migration-compartme export import ChangeMigrationCompartmentRequest = ChangeMigrationCompartmentRequest.ChangeMigrationCompartmentRequest; import * as CloneMigrationRequest from "./clone-migration-request"; export import CloneMigrationRequest = CloneMigrationRequest.CloneMigrationRequest; +import * as CollectTracesRequest from "./collect-traces-request"; +export import CollectTracesRequest = CollectTracesRequest.CollectTracesRequest; import * as ConnectionDiagnosticsRequest from "./connection-diagnostics-request"; export import ConnectionDiagnosticsRequest = ConnectionDiagnosticsRequest.ConnectionDiagnosticsRequest; import * as CreateConnectionRequest from "./create-connection-request"; diff --git a/lib/databasemigration/lib/response/collect-traces-response.ts b/lib/databasemigration/lib/response/collect-traces-response.ts new file mode 100644 index 0000000000..1f4ef5fc8f --- /dev/null +++ b/lib/databasemigration/lib/response/collect-traces-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20230518 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CollectTracesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * The returned model.Job instance. + */ + "job": model.Job; +} diff --git a/lib/databasemigration/lib/response/index.ts b/lib/databasemigration/lib/response/index.ts index 82e2f0b6e2..3888ed8282 100644 --- a/lib/databasemigration/lib/response/index.ts +++ b/lib/databasemigration/lib/response/index.ts @@ -21,6 +21,8 @@ import * as ChangeMigrationCompartmentResponse from "./change-migration-compartm export import ChangeMigrationCompartmentResponse = ChangeMigrationCompartmentResponse.ChangeMigrationCompartmentResponse; import * as CloneMigrationResponse from "./clone-migration-response"; export import CloneMigrationResponse = CloneMigrationResponse.CloneMigrationResponse; +import * as CollectTracesResponse from "./collect-traces-response"; +export import CollectTracesResponse = CollectTracesResponse.CollectTracesResponse; import * as ConnectionDiagnosticsResponse from "./connection-diagnostics-response"; export import ConnectionDiagnosticsResponse = ConnectionDiagnosticsResponse.ConnectionDiagnosticsResponse; import * as CreateConnectionResponse from "./create-connection-response"; diff --git a/lib/databasemigration/package.json b/lib/databasemigration/package.json index e3e599321c..c20f6a78c8 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Database Migration Service", "repository": { "type": "git", diff --git a/lib/databasetools/package.json b/lib/databasetools/package.json index 379b225171..0da4aa5943 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 0c5d0e11c7..51dda0616e 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data catalogue Service", "repository": { "type": "git", diff --git a/lib/dataflow/package.json b/lib/dataflow/package.json index 8a4b9f9faa..ca8abbad67 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 553b44176d..7d268f1d82 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data Integration Service", "repository": { "type": "git", diff --git a/lib/datalabelingservice/package.json b/lib/datalabelingservice/package.json index 067303963c..7d4ebac3b7 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data Labeling Service Service", "repository": { "type": "git", diff --git a/lib/datalabelingservicedataplane/package.json b/lib/datalabelingservicedataplane/package.json index c0f9644f6e..4bdf184db7 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data Labeling Service Dataplane Service", "repository": { "type": "git", diff --git a/lib/datasafe/package.json b/lib/datasafe/package.json index caaf549b76..091951e93b 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index cbd51c3864..7675de4902 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index d4d3c7a616..a9aa8add81 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/README.md b/lib/dbmulticloud/README.md new file mode 100644 index 0000000000..6eee317057 --- /dev/null +++ b/lib/dbmulticloud/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Dbmulticloud Service + +This module enables you to write code to manage resources for Dbmulticloud Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-dbmulticloud +``` + +Alternatively you can git clone this repo. diff --git a/lib/dbmulticloud/index.ts b/lib/dbmulticloud/index.ts new file mode 100644 index 0000000000..5e8842567a --- /dev/null +++ b/lib/dbmulticloud/index.ts @@ -0,0 +1,55 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as multicloudresourcediscovery_waiter from "./lib/multicloudresourcediscovery-waiter"; +import * as oracledbazureblobcontainer_waiter from "./lib/oracledbazureblobcontainer-waiter"; +import * as oracledbazureblobmount_waiter from "./lib/oracledbazureblobmount-waiter"; +import * as oracledbazureconnector_waiter from "./lib/oracledbazureconnector-waiter"; +import * as oracledbazurekey_waiter from "./lib/oracledbazurekey-waiter"; +import * as oracledbazurevault_waiter from "./lib/oracledbazurevault-waiter"; +import * as oracledbazurevaultassociation_waiter from "./lib/oracledbazurevaultassociation-waiter"; +import * as workrequest_waiter from "./lib/workrequest-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import MultiCloudResourceDiscoveryClient = client.MultiCloudResourceDiscoveryClient; +export import MultiCloudResourceDiscoveryWaiter = multicloudresourcediscovery_waiter.MultiCloudResourceDiscoveryWaiter; +export import OracleDBAzureBlobContainerClient = client.OracleDBAzureBlobContainerClient; +export import OracleDBAzureBlobContainerWaiter = oracledbazureblobcontainer_waiter.OracleDBAzureBlobContainerWaiter; +export import OracleDBAzureBlobMountClient = client.OracleDBAzureBlobMountClient; +export import OracleDBAzureBlobMountWaiter = oracledbazureblobmount_waiter.OracleDBAzureBlobMountWaiter; +export import OracleDBAzureConnectorClient = client.OracleDBAzureConnectorClient; +export import OracleDBAzureConnectorWaiter = oracledbazureconnector_waiter.OracleDBAzureConnectorWaiter; +export import OracleDbAzureKeyClient = client.OracleDbAzureKeyClient; +export import OracleDbAzureKeyWaiter = oracledbazurekey_waiter.OracleDbAzureKeyWaiter; +export import OracleDbAzureVaultClient = client.OracleDbAzureVaultClient; +export import OracleDbAzureVaultWaiter = oracledbazurevault_waiter.OracleDbAzureVaultWaiter; +export import OracleDbAzureVaultAssociationClient = client.OracleDbAzureVaultAssociationClient; +export import OracleDbAzureVaultAssociationWaiter = oracledbazurevaultassociation_waiter.OracleDbAzureVaultAssociationWaiter; +export import WorkRequestClient = client.WorkRequestClient; +export import WorkRequestWaiter = workrequest_waiter.WorkRequestWaiter; diff --git a/lib/dbmulticloud/lib/client.ts b/lib/dbmulticloud/lib/client.ts new file mode 100644 index 0000000000..1fdacc061f --- /dev/null +++ b/lib/dbmulticloud/lib/client.ts @@ -0,0 +1,5577 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { MultiCloudResourceDiscoveryWaiter } from "./multicloudresourcediscovery-waiter"; +import { OracleDBAzureBlobContainerWaiter } from "./oracledbazureblobcontainer-waiter"; +import { OracleDBAzureBlobMountWaiter } from "./oracledbazureblobmount-waiter"; +import { OracleDBAzureConnectorWaiter } from "./oracledbazureconnector-waiter"; +import { OracleDbAzureKeyWaiter } from "./oracledbazurekey-waiter"; +import { OracleDbAzureVaultWaiter } from "./oracledbazurevault-waiter"; +import { OracleDbAzureVaultAssociationWaiter } from "./oracledbazurevaultassociation-waiter"; +import { WorkRequestWaiter } from "./workrequest-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum MultiCloudResourceDiscoveryApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class MultiCloudResourceDiscoveryClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": MultiCloudResourceDiscoveryWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "MultiCloudResourceDiscovery"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`MultiCloudResourceDiscoveryClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MultiCloudResourceDiscoveryClient.serviceEndpointTemplate, + this._region, + MultiCloudResourceDiscoveryClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MultiCloudResourceDiscoveryClient.serviceEndpointTemplate, + this._regionId, + MultiCloudResourceDiscoveryClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MultiCloudResourceDiscoveryClient.serviceEndpointTemplate, + region, + MultiCloudResourceDiscoveryClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MultiCloudResourceDiscoveryClient.serviceEndpointTemplate, + regionId, + MultiCloudResourceDiscoveryClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new MultiCloudResourceDiscoveryWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): MultiCloudResourceDiscoveryWaiter { + this._waiters = new MultiCloudResourceDiscoveryWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): MultiCloudResourceDiscoveryWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the Oracle Azure Vault resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeMultiCloudResourceDiscoveryCompartmentRequest + * @return ChangeMultiCloudResourceDiscoveryCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeMultiCloudResourceDiscoveryCompartment.ts.html |here} to see how to use ChangeMultiCloudResourceDiscoveryCompartment API. + */ + public async changeMultiCloudResourceDiscoveryCompartment( + changeMultiCloudResourceDiscoveryCompartmentRequest: requests.ChangeMultiCloudResourceDiscoveryCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#changeMultiCloudResourceDiscoveryCompartment." + ); + const operationName = "changeMultiCloudResourceDiscoveryCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{multiCloudResourceDiscoveryId}": + changeMultiCloudResourceDiscoveryCompartmentRequest.multiCloudResourceDiscoveryId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeMultiCloudResourceDiscoveryCompartmentRequest.opcRetryToken, + "if-match": changeMultiCloudResourceDiscoveryCompartmentRequest.ifMatch, + "opc-request-id": changeMultiCloudResourceDiscoveryCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeMultiCloudResourceDiscoveryCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/multiCloudResourceDiscovery/{multiCloudResourceDiscoveryId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeMultiCloudResourceDiscoveryCompartmentRequest.changeMultiCloudResourceDiscoveryCompartmentDetails, + "ChangeMultiCloudResourceDiscoveryCompartmentDetails", + model.ChangeMultiCloudResourceDiscoveryCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Discover Azure Vaults and Keys based on the provided information. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateMultiCloudResourceDiscoveryRequest + * @return CreateMultiCloudResourceDiscoveryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateMultiCloudResourceDiscovery.ts.html |here} to see how to use CreateMultiCloudResourceDiscovery API. + */ + public async createMultiCloudResourceDiscovery( + createMultiCloudResourceDiscoveryRequest: requests.CreateMultiCloudResourceDiscoveryRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#createMultiCloudResourceDiscovery." + ); + const operationName = "createMultiCloudResourceDiscovery"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createMultiCloudResourceDiscoveryRequest.opcRetryToken, + "if-match": createMultiCloudResourceDiscoveryRequest.ifMatch, + "opc-request-id": createMultiCloudResourceDiscoveryRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createMultiCloudResourceDiscoveryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multiCloudResourceDiscovery", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createMultiCloudResourceDiscoveryRequest.createMultiCloudResourceDiscoveryDetails, + "CreateMultiCloudResourceDiscoveryDetails", + model.CreateMultiCloudResourceDiscoveryDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "multiCloudResourceDiscovery", + bodyModel: model.MultiCloudResourceDiscovery, + type: "model.MultiCloudResourceDiscovery", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete Multi Cloud Discovery resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteMultiCloudResourceDiscoveryRequest + * @return DeleteMultiCloudResourceDiscoveryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteMultiCloudResourceDiscovery.ts.html |here} to see how to use DeleteMultiCloudResourceDiscovery API. + */ + public async deleteMultiCloudResourceDiscovery( + deleteMultiCloudResourceDiscoveryRequest: requests.DeleteMultiCloudResourceDiscoveryRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#deleteMultiCloudResourceDiscovery." + ); + const operationName = "deleteMultiCloudResourceDiscovery"; + const apiReferenceLink = ""; + const pathParams = { + "{multiCloudResourceDiscoveryId}": + deleteMultiCloudResourceDiscoveryRequest.multiCloudResourceDiscoveryId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteMultiCloudResourceDiscoveryRequest.ifMatch, + "opc-request-id": deleteMultiCloudResourceDiscoveryRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteMultiCloudResourceDiscoveryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multiCloudResourceDiscovery/{multiCloudResourceDiscoveryId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Multi Cloud Discovered Resource Details form a particular resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetMultiCloudResourceDiscoveryRequest + * @return GetMultiCloudResourceDiscoveryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetMultiCloudResourceDiscovery.ts.html |here} to see how to use GetMultiCloudResourceDiscovery API. + */ + public async getMultiCloudResourceDiscovery( + getMultiCloudResourceDiscoveryRequest: requests.GetMultiCloudResourceDiscoveryRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#getMultiCloudResourceDiscovery." + ); + const operationName = "getMultiCloudResourceDiscovery"; + const apiReferenceLink = ""; + const pathParams = { + "{multiCloudResourceDiscoveryId}": + getMultiCloudResourceDiscoveryRequest.multiCloudResourceDiscoveryId + }; + + const queryParams = { + "limit": getMultiCloudResourceDiscoveryRequest.limit, + "page": getMultiCloudResourceDiscoveryRequest.page, + "sortOrder": getMultiCloudResourceDiscoveryRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getMultiCloudResourceDiscoveryRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getMultiCloudResourceDiscoveryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multiCloudResourceDiscovery/{multiCloudResourceDiscoveryId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "multiCloudResourceDiscovery", + bodyModel: model.MultiCloudResourceDiscovery, + type: "model.MultiCloudResourceDiscovery", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Multi Cloud Resource Discovery based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListMultiCloudResourceDiscoveriesRequest + * @return ListMultiCloudResourceDiscoveriesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListMultiCloudResourceDiscoveries.ts.html |here} to see how to use ListMultiCloudResourceDiscoveries API. + */ + public async listMultiCloudResourceDiscoveries( + listMultiCloudResourceDiscoveriesRequest: requests.ListMultiCloudResourceDiscoveriesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#listMultiCloudResourceDiscoveries." + ); + const operationName = "listMultiCloudResourceDiscoveries"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listMultiCloudResourceDiscoveriesRequest.compartmentId, + "displayName": listMultiCloudResourceDiscoveriesRequest.displayName, + "multiCloudResourceDiscoveryId": + listMultiCloudResourceDiscoveriesRequest.multiCloudResourceDiscoveryId, + "lifecycleState": listMultiCloudResourceDiscoveriesRequest.lifecycleState, + "oracleDbAzureConnectorId": listMultiCloudResourceDiscoveriesRequest.oracleDbAzureConnectorId, + "resourceType": listMultiCloudResourceDiscoveriesRequest.resourceType, + "limit": listMultiCloudResourceDiscoveriesRequest.limit, + "page": listMultiCloudResourceDiscoveriesRequest.page, + "sortOrder": listMultiCloudResourceDiscoveriesRequest.sortOrder, + "sortBy": listMultiCloudResourceDiscoveriesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listMultiCloudResourceDiscoveriesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listMultiCloudResourceDiscoveriesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multiCloudResourceDiscovery", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "multiCloudResourceDiscoverySummaryCollection", + bodyModel: model.MultiCloudResourceDiscoverySummaryCollection, + type: "model.MultiCloudResourceDiscoverySummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Azure Discovered Resource for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateMultiCloudResourceDiscoveryRequest + * @return UpdateMultiCloudResourceDiscoveryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateMultiCloudResourceDiscovery.ts.html |here} to see how to use UpdateMultiCloudResourceDiscovery API. + */ + public async updateMultiCloudResourceDiscovery( + updateMultiCloudResourceDiscoveryRequest: requests.UpdateMultiCloudResourceDiscoveryRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MultiCloudResourceDiscoveryClient#updateMultiCloudResourceDiscovery." + ); + const operationName = "updateMultiCloudResourceDiscovery"; + const apiReferenceLink = ""; + const pathParams = { + "{multiCloudResourceDiscoveryId}": + updateMultiCloudResourceDiscoveryRequest.multiCloudResourceDiscoveryId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateMultiCloudResourceDiscoveryRequest.ifMatch, + "opc-request-id": updateMultiCloudResourceDiscoveryRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateMultiCloudResourceDiscoveryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multiCloudResourceDiscovery/{multiCloudResourceDiscoveryId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateMultiCloudResourceDiscoveryRequest.updateMultiCloudResourceDiscoveryDetails, + "UpdateMultiCloudResourceDiscoveryDetails", + model.UpdateMultiCloudResourceDiscoveryDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDBAzureBlobContainerApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDBAzureBlobContainerClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDBAzureBlobContainerWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDBAzureBlobContainer"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`OracleDBAzureBlobContainerClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureBlobContainerClient.serviceEndpointTemplate, + this._region, + OracleDBAzureBlobContainerClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureBlobContainerClient.serviceEndpointTemplate, + this._regionId, + OracleDBAzureBlobContainerClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureBlobContainerClient.serviceEndpointTemplate, + region, + OracleDBAzureBlobContainerClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureBlobContainerClient.serviceEndpointTemplate, + regionId, + OracleDBAzureBlobContainerClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDBAzureBlobContainerWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDBAzureBlobContainerWaiter { + this._waiters = new OracleDBAzureBlobContainerWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDBAzureBlobContainerWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the Oracle DB Azure Blob Container resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAzureBlobContainerCompartmentRequest + * @return ChangeOracleDbAzureBlobContainerCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureBlobContainerCompartment.ts.html |here} to see how to use ChangeOracleDbAzureBlobContainerCompartment API. + */ + public async changeOracleDbAzureBlobContainerCompartment( + changeOracleDbAzureBlobContainerCompartmentRequest: requests.ChangeOracleDbAzureBlobContainerCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#changeOracleDbAzureBlobContainerCompartment." + ); + const operationName = "changeOracleDbAzureBlobContainerCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobContainerId}": + changeOracleDbAzureBlobContainerCompartmentRequest.oracleDbAzureBlobContainerId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAzureBlobContainerCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAzureBlobContainerCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAzureBlobContainerCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAzureBlobContainerCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer/{oracleDbAzureBlobContainerId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAzureBlobContainerCompartmentRequest.changeOracleDbAzureBlobContainerCompartmentDetails, + "ChangeOracleDbAzureBlobContainerCompartmentDetails", + model.ChangeOracleDbAzureBlobContainerCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Capture Azure Container details for mounting Azure Container on multiple OCI Database Resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAzureBlobContainerRequest + * @return CreateOracleDbAzureBlobContainerResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureBlobContainer.ts.html |here} to see how to use CreateOracleDbAzureBlobContainer API. + */ + public async createOracleDbAzureBlobContainer( + createOracleDbAzureBlobContainerRequest: requests.CreateOracleDbAzureBlobContainerRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#createOracleDbAzureBlobContainer." + ); + const operationName = "createOracleDbAzureBlobContainer"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAzureBlobContainerRequest.opcRetryToken, + "if-match": createOracleDbAzureBlobContainerRequest.ifMatch, + "opc-request-id": createOracleDbAzureBlobContainerRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAzureBlobContainerRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAzureBlobContainerRequest.createOracleDbAzureBlobContainerDetails, + "CreateOracleDbAzureBlobContainerDetails", + model.CreateOracleDbAzureBlobContainerDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobContainer", + bodyModel: model.OracleDbAzureBlobContainer, + type: "model.OracleDbAzureBlobContainer", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete Oracle DB Azure Blob Container details. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAzureBlobContainerRequest + * @return DeleteOracleDbAzureBlobContainerResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureBlobContainer.ts.html |here} to see how to use DeleteOracleDbAzureBlobContainer API. + */ + public async deleteOracleDbAzureBlobContainer( + deleteOracleDbAzureBlobContainerRequest: requests.DeleteOracleDbAzureBlobContainerRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#deleteOracleDbAzureBlobContainer." + ); + const operationName = "deleteOracleDbAzureBlobContainer"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobContainerId}": + deleteOracleDbAzureBlobContainerRequest.oracleDbAzureBlobContainerId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAzureBlobContainerRequest.ifMatch, + "opc-request-id": deleteOracleDbAzureBlobContainerRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAzureBlobContainerRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer/{oracleDbAzureBlobContainerId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Oracle DB Azure Blob Container Details form a particular Container Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureBlobContainerRequest + * @return GetOracleDbAzureBlobContainerResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureBlobContainer.ts.html |here} to see how to use GetOracleDbAzureBlobContainer API. + */ + public async getOracleDbAzureBlobContainer( + getOracleDbAzureBlobContainerRequest: requests.GetOracleDbAzureBlobContainerRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#getOracleDbAzureBlobContainer." + ); + const operationName = "getOracleDbAzureBlobContainer"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobContainerId}": + getOracleDbAzureBlobContainerRequest.oracleDbAzureBlobContainerId + }; + + const queryParams = { + "limit": getOracleDbAzureBlobContainerRequest.limit, + "page": getOracleDbAzureBlobContainerRequest.page, + "sortOrder": getOracleDbAzureBlobContainerRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureBlobContainerRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureBlobContainerRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer/{oracleDbAzureBlobContainerId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobContainer", + bodyModel: model.OracleDbAzureBlobContainer, + type: "model.OracleDbAzureBlobContainer", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Oracle DB Azure Blob Container based on filter. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureBlobContainersRequest + * @return ListOracleDbAzureBlobContainersResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureBlobContainers.ts.html |here} to see how to use ListOracleDbAzureBlobContainers API. + */ + public async listOracleDbAzureBlobContainers( + listOracleDbAzureBlobContainersRequest: requests.ListOracleDbAzureBlobContainersRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#listOracleDbAzureBlobContainers." + ); + const operationName = "listOracleDbAzureBlobContainers"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureBlobContainersRequest.compartmentId, + "displayName": listOracleDbAzureBlobContainersRequest.displayName, + "oracleDbAzureBlobContainerId": + listOracleDbAzureBlobContainersRequest.oracleDbAzureBlobContainerId, + "lifecycleState": listOracleDbAzureBlobContainersRequest.lifecycleState, + "azureStorageAccountName": listOracleDbAzureBlobContainersRequest.azureStorageAccountName, + "azureStorageContainerName": listOracleDbAzureBlobContainersRequest.azureStorageContainerName, + "limit": listOracleDbAzureBlobContainersRequest.limit, + "page": listOracleDbAzureBlobContainersRequest.page, + "sortOrder": listOracleDbAzureBlobContainersRequest.sortOrder, + "sortBy": listOracleDbAzureBlobContainersRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureBlobContainersRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureBlobContainersRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobContainerSummaryCollection", + bodyModel: model.OracleDbAzureBlobContainerSummaryCollection, + type: "model.OracleDbAzureBlobContainerSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB Azure Blob Container for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAzureBlobContainerRequest + * @return UpdateOracleDbAzureBlobContainerResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureBlobContainer.ts.html |here} to see how to use UpdateOracleDbAzureBlobContainer API. + */ + public async updateOracleDbAzureBlobContainer( + updateOracleDbAzureBlobContainerRequest: requests.UpdateOracleDbAzureBlobContainerRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobContainerClient#updateOracleDbAzureBlobContainer." + ); + const operationName = "updateOracleDbAzureBlobContainer"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobContainerId}": + updateOracleDbAzureBlobContainerRequest.oracleDbAzureBlobContainerId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAzureBlobContainerRequest.ifMatch, + "opc-request-id": updateOracleDbAzureBlobContainerRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAzureBlobContainerRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobContainer/{oracleDbAzureBlobContainerId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAzureBlobContainerRequest.updateOracleDbAzureBlobContainerDetails, + "UpdateOracleDbAzureBlobContainerDetails", + model.UpdateOracleDbAzureBlobContainerDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDBAzureBlobMountApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDBAzureBlobMountClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDBAzureBlobMountWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDBAzureBlobMount"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`OracleDBAzureBlobMountClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureBlobMountClient.serviceEndpointTemplate, + this._region, + OracleDBAzureBlobMountClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureBlobMountClient.serviceEndpointTemplate, + this._regionId, + OracleDBAzureBlobMountClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureBlobMountClient.serviceEndpointTemplate, + region, + OracleDBAzureBlobMountClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureBlobMountClient.serviceEndpointTemplate, + regionId, + OracleDBAzureBlobMountClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDBAzureBlobMountWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDBAzureBlobMountWaiter { + this._waiters = new OracleDBAzureBlobMountWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDBAzureBlobMountWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the Oracle DbAzure Blob Mount resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAzureBlobMountCompartmentRequest + * @return ChangeOracleDbAzureBlobMountCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureBlobMountCompartment.ts.html |here} to see how to use ChangeOracleDbAzureBlobMountCompartment API. + */ + public async changeOracleDbAzureBlobMountCompartment( + changeOracleDbAzureBlobMountCompartmentRequest: requests.ChangeOracleDbAzureBlobMountCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#changeOracleDbAzureBlobMountCompartment." + ); + const operationName = "changeOracleDbAzureBlobMountCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobMountId}": + changeOracleDbAzureBlobMountCompartmentRequest.oracleDbAzureBlobMountId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAzureBlobMountCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAzureBlobMountCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAzureBlobMountCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAzureBlobMountCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount/{oracleDbAzureBlobMountId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAzureBlobMountCompartmentRequest.changeOracleDbAzureBlobMountCompartmentDetails, + "ChangeOracleDbAzureBlobMountCompartmentDetails", + model.ChangeOracleDbAzureBlobMountCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates Oracle DB Azure Blob Mount resource and mounts Azure Container in OCI Database Resource, + * based on provided Azure Container details and Database Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAzureBlobMountRequest + * @return CreateOracleDbAzureBlobMountResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureBlobMount.ts.html |here} to see how to use CreateOracleDbAzureBlobMount API. + */ + public async createOracleDbAzureBlobMount( + createOracleDbAzureBlobMountRequest: requests.CreateOracleDbAzureBlobMountRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#createOracleDbAzureBlobMount." + ); + const operationName = "createOracleDbAzureBlobMount"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAzureBlobMountRequest.opcRetryToken, + "if-match": createOracleDbAzureBlobMountRequest.ifMatch, + "opc-request-id": createOracleDbAzureBlobMountRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAzureBlobMountRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAzureBlobMountRequest.createOracleDbAzureBlobMountDetails, + "CreateOracleDbAzureBlobMountDetails", + model.CreateOracleDbAzureBlobMountDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobMount", + bodyModel: model.OracleDbAzureBlobMount, + type: "model.OracleDbAzureBlobMount", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Unmount Azure Container Resource from ExaCS VM Cluster and Delete resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAzureBlobMountRequest + * @return DeleteOracleDbAzureBlobMountResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureBlobMount.ts.html |here} to see how to use DeleteOracleDbAzureBlobMount API. + */ + public async deleteOracleDbAzureBlobMount( + deleteOracleDbAzureBlobMountRequest: requests.DeleteOracleDbAzureBlobMountRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#deleteOracleDbAzureBlobMount." + ); + const operationName = "deleteOracleDbAzureBlobMount"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobMountId}": deleteOracleDbAzureBlobMountRequest.oracleDbAzureBlobMountId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAzureBlobMountRequest.ifMatch, + "opc-request-id": deleteOracleDbAzureBlobMountRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAzureBlobMountRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount/{oracleDbAzureBlobMountId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Oracle DB Azure Blob Mount Details form a particular Container Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureBlobMountRequest + * @return GetOracleDbAzureBlobMountResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureBlobMount.ts.html |here} to see how to use GetOracleDbAzureBlobMount API. + */ + public async getOracleDbAzureBlobMount( + getOracleDbAzureBlobMountRequest: requests.GetOracleDbAzureBlobMountRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#getOracleDbAzureBlobMount." + ); + const operationName = "getOracleDbAzureBlobMount"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobMountId}": getOracleDbAzureBlobMountRequest.oracleDbAzureBlobMountId + }; + + const queryParams = { + "limit": getOracleDbAzureBlobMountRequest.limit, + "page": getOracleDbAzureBlobMountRequest.page, + "sortOrder": getOracleDbAzureBlobMountRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureBlobMountRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureBlobMountRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount/{oracleDbAzureBlobMountId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobMount", + bodyModel: model.OracleDbAzureBlobMount, + type: "model.OracleDbAzureBlobMount", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Oracle DB Azure Blob Mounts based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureBlobMountsRequest + * @return ListOracleDbAzureBlobMountsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureBlobMounts.ts.html |here} to see how to use ListOracleDbAzureBlobMounts API. + */ + public async listOracleDbAzureBlobMounts( + listOracleDbAzureBlobMountsRequest: requests.ListOracleDbAzureBlobMountsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#listOracleDbAzureBlobMounts." + ); + const operationName = "listOracleDbAzureBlobMounts"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureBlobMountsRequest.compartmentId, + "displayName": listOracleDbAzureBlobMountsRequest.displayName, + "oracleDbAzureBlobMountId": listOracleDbAzureBlobMountsRequest.oracleDbAzureBlobMountId, + "lifecycleState": listOracleDbAzureBlobMountsRequest.lifecycleState, + "oracleDbAzureBlobContainerId": + listOracleDbAzureBlobMountsRequest.oracleDbAzureBlobContainerId, + "oracleDbAzureConnectorId": listOracleDbAzureBlobMountsRequest.oracleDbAzureConnectorId, + "limit": listOracleDbAzureBlobMountsRequest.limit, + "page": listOracleDbAzureBlobMountsRequest.page, + "sortOrder": listOracleDbAzureBlobMountsRequest.sortOrder, + "sortBy": listOracleDbAzureBlobMountsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureBlobMountsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureBlobMountsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureBlobMountSummaryCollection", + bodyModel: model.OracleDbAzureBlobMountSummaryCollection, + type: "model.OracleDbAzureBlobMountSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB Azure Blob Mount resource for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAzureBlobMountRequest + * @return UpdateOracleDbAzureBlobMountResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureBlobMount.ts.html |here} to see how to use UpdateOracleDbAzureBlobMount API. + */ + public async updateOracleDbAzureBlobMount( + updateOracleDbAzureBlobMountRequest: requests.UpdateOracleDbAzureBlobMountRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureBlobMountClient#updateOracleDbAzureBlobMount." + ); + const operationName = "updateOracleDbAzureBlobMount"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureBlobMountId}": updateOracleDbAzureBlobMountRequest.oracleDbAzureBlobMountId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAzureBlobMountRequest.ifMatch, + "opc-request-id": updateOracleDbAzureBlobMountRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAzureBlobMountRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureBlobMount/{oracleDbAzureBlobMountId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAzureBlobMountRequest.updateOracleDbAzureBlobMountDetails, + "UpdateOracleDbAzureBlobMountDetails", + model.UpdateOracleDbAzureBlobMountDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDBAzureConnectorApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDBAzureConnectorClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDBAzureConnectorWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDBAzureConnector"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`OracleDBAzureConnectorClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureConnectorClient.serviceEndpointTemplate, + this._region, + OracleDBAzureConnectorClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureConnectorClient.serviceEndpointTemplate, + this._regionId, + OracleDBAzureConnectorClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDBAzureConnectorClient.serviceEndpointTemplate, + region, + OracleDBAzureConnectorClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDBAzureConnectorClient.serviceEndpointTemplate, + regionId, + OracleDBAzureConnectorClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDBAzureConnectorWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDBAzureConnectorWaiter { + this._waiters = new OracleDBAzureConnectorWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDBAzureConnectorWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the Oracle DB Azure Connector Resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAzureConnectorCompartmentRequest + * @return ChangeOracleDbAzureConnectorCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureConnectorCompartment.ts.html |here} to see how to use ChangeOracleDbAzureConnectorCompartment API. + */ + public async changeOracleDbAzureConnectorCompartment( + changeOracleDbAzureConnectorCompartmentRequest: requests.ChangeOracleDbAzureConnectorCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#changeOracleDbAzureConnectorCompartment." + ); + const operationName = "changeOracleDbAzureConnectorCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureConnectorId}": + changeOracleDbAzureConnectorCompartmentRequest.oracleDbAzureConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAzureConnectorCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAzureConnectorCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAzureConnectorCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAzureConnectorCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector/{oracleDbAzureConnectorId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAzureConnectorCompartmentRequest.changeOracleDbAzureConnectorCompartmentDetails, + "ChangeOracleDbAzureConnectorCompartmentDetails", + model.ChangeOracleDbAzureConnectorCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates Oracle DB Azure Connector Resource and configured Azure Identity in OCI Database Resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAzureConnectorRequest + * @return CreateOracleDbAzureConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureConnector.ts.html |here} to see how to use CreateOracleDbAzureConnector API. + */ + public async createOracleDbAzureConnector( + createOracleDbAzureConnectorRequest: requests.CreateOracleDbAzureConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#createOracleDbAzureConnector." + ); + const operationName = "createOracleDbAzureConnector"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAzureConnectorRequest.opcRetryToken, + "opc-request-id": createOracleDbAzureConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAzureConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAzureConnectorRequest.createOracleDbAzureConnectorDetails, + "CreateOracleDbAzureConnectorDetails", + model.CreateOracleDbAzureConnectorDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureConnector", + bodyModel: model.OracleDbAzureConnector, + type: "model.OracleDbAzureConnector", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete Oracle DB Azure Connector Resource and delete Azure Arc Identity too from Database Resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAzureConnectorRequest + * @return DeleteOracleDbAzureConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureConnector.ts.html |here} to see how to use DeleteOracleDbAzureConnector API. + */ + public async deleteOracleDbAzureConnector( + deleteOracleDbAzureConnectorRequest: requests.DeleteOracleDbAzureConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#deleteOracleDbAzureConnector." + ); + const operationName = "deleteOracleDbAzureConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureConnectorId}": deleteOracleDbAzureConnectorRequest.oracleDbAzureConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAzureConnectorRequest.ifMatch, + "opc-request-id": deleteOracleDbAzureConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAzureConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector/{oracleDbAzureConnectorId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Oracle DB Azure Connector Resource form a particular Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureConnectorRequest + * @return GetOracleDbAzureConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureConnector.ts.html |here} to see how to use GetOracleDbAzureConnector API. + */ + public async getOracleDbAzureConnector( + getOracleDbAzureConnectorRequest: requests.GetOracleDbAzureConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#getOracleDbAzureConnector." + ); + const operationName = "getOracleDbAzureConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureConnectorId}": getOracleDbAzureConnectorRequest.oracleDbAzureConnectorId + }; + + const queryParams = { + "limit": getOracleDbAzureConnectorRequest.limit, + "page": getOracleDbAzureConnectorRequest.page, + "sortOrder": getOracleDbAzureConnectorRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector/{oracleDbAzureConnectorId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureConnector", + bodyModel: model.OracleDbAzureConnector, + type: "model.OracleDbAzureConnector", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Oracle DB Azure Connector Resource based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureConnectorsRequest + * @return ListOracleDbAzureConnectorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureConnectors.ts.html |here} to see how to use ListOracleDbAzureConnectors API. + */ + public async listOracleDbAzureConnectors( + listOracleDbAzureConnectorsRequest: requests.ListOracleDbAzureConnectorsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#listOracleDbAzureConnectors." + ); + const operationName = "listOracleDbAzureConnectors"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureConnectorsRequest.compartmentId, + "displayName": listOracleDbAzureConnectorsRequest.displayName, + "oracleDbAzureConnectorId": listOracleDbAzureConnectorsRequest.oracleDbAzureConnectorId, + "lifecycleState": listOracleDbAzureConnectorsRequest.lifecycleState, + "dbClusterResourceId": listOracleDbAzureConnectorsRequest.dbClusterResourceId, + "limit": listOracleDbAzureConnectorsRequest.limit, + "page": listOracleDbAzureConnectorsRequest.page, + "sortOrder": listOracleDbAzureConnectorsRequest.sortOrder, + "sortBy": listOracleDbAzureConnectorsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureConnectorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureConnectorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureConnectorSummaryCollection", + bodyModel: model.OracleDbAzureConnectorSummaryCollection, + type: "model.OracleDbAzureConnectorSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Patch Azure Arc Agent on VM Cluster with new version. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param PatchOracleDbAzureConnectorRequest + * @return PatchOracleDbAzureConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/PatchOracleDbAzureConnector.ts.html |here} to see how to use PatchOracleDbAzureConnector API. + */ + public async patchOracleDbAzureConnector( + patchOracleDbAzureConnectorRequest: requests.PatchOracleDbAzureConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#patchOracleDbAzureConnector." + ); + const operationName = "patchOracleDbAzureConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureConnectorId}": patchOracleDbAzureConnectorRequest.oracleDbAzureConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": patchOracleDbAzureConnectorRequest.ifMatch, + "opc-request-id": patchOracleDbAzureConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + patchOracleDbAzureConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector/{oracleDbAzureConnectorId}", + method: "PATCH", + bodyContent: common.ObjectSerializer.serialize( + patchOracleDbAzureConnectorRequest.patchOracleDbAzureConnectorDetails, + "PatchOracleDbAzureConnectorDetails", + model.PatchOracleDbAzureConnectorDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB Azure Connector Resource for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAzureConnectorRequest + * @return UpdateOracleDbAzureConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureConnector.ts.html |here} to see how to use UpdateOracleDbAzureConnector API. + */ + public async updateOracleDbAzureConnector( + updateOracleDbAzureConnectorRequest: requests.UpdateOracleDbAzureConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDBAzureConnectorClient#updateOracleDbAzureConnector." + ); + const operationName = "updateOracleDbAzureConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureConnectorId}": updateOracleDbAzureConnectorRequest.oracleDbAzureConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAzureConnectorRequest.ifMatch, + "opc-request-id": updateOracleDbAzureConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAzureConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureConnector/{oracleDbAzureConnectorId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAzureConnectorRequest.updateOracleDbAzureConnectorDetails, + "UpdateOracleDbAzureConnectorDetails", + model.UpdateOracleDbAzureConnectorDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDbAzureKeyApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDbAzureKeyClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDbAzureKeyWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDbAzureKey"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) this.logger.info(`OracleDbAzureKeyClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureKeyClient.serviceEndpointTemplate, + this._region, + OracleDbAzureKeyClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureKeyClient.serviceEndpointTemplate, + this._regionId, + OracleDbAzureKeyClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureKeyClient.serviceEndpointTemplate, + region, + OracleDbAzureKeyClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureKeyClient.serviceEndpointTemplate, + regionId, + OracleDbAzureKeyClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDbAzureKeyWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDbAzureKeyWaiter { + this._waiters = new OracleDbAzureKeyWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDbAzureKeyWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Get Oracle DB Azure Key Details form a particular Container Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureKeyRequest + * @return GetOracleDbAzureKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureKey.ts.html |here} to see how to use GetOracleDbAzureKey API. + */ + public async getOracleDbAzureKey( + getOracleDbAzureKeyRequest: requests.GetOracleDbAzureKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureKeyClient#getOracleDbAzureKey."); + const operationName = "getOracleDbAzureKey"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureKeyId}": getOracleDbAzureKeyRequest.oracleDbAzureKeyId + }; + + const queryParams = { + "limit": getOracleDbAzureKeyRequest.limit, + "page": getOracleDbAzureKeyRequest.page, + "sortOrder": getOracleDbAzureKeyRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureKey/{oracleDbAzureKeyId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureKey", + bodyModel: model.OracleDbAzureKey, + type: "model.OracleDbAzureKey", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Oracle DB Azure Keys based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureKeysRequest + * @return ListOracleDbAzureKeysResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureKeys.ts.html |here} to see how to use ListOracleDbAzureKeys API. + */ + public async listOracleDbAzureKeys( + listOracleDbAzureKeysRequest: requests.ListOracleDbAzureKeysRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureKeyClient#listOracleDbAzureKeys."); + const operationName = "listOracleDbAzureKeys"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureKeysRequest.compartmentId, + "displayName": listOracleDbAzureKeysRequest.displayName, + "oracleDbAzureVaultId": listOracleDbAzureKeysRequest.oracleDbAzureVaultId, + "oracleDbAzureKeyId": listOracleDbAzureKeysRequest.oracleDbAzureKeyId, + "lifecycleState": listOracleDbAzureKeysRequest.lifecycleState, + "limit": listOracleDbAzureKeysRequest.limit, + "page": listOracleDbAzureKeysRequest.page, + "sortOrder": listOracleDbAzureKeysRequest.sortOrder, + "sortBy": listOracleDbAzureKeysRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureKeysRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureKeysRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureKey", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureKeySummaryCollection", + bodyModel: model.OracleDbAzureKeySummaryCollection, + type: "model.OracleDbAzureKeySummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDbAzureVaultApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDbAzureVaultClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDbAzureVaultWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDbAzureVault"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) this.logger.info(`OracleDbAzureVaultClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureVaultClient.serviceEndpointTemplate, + this._region, + OracleDbAzureVaultClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureVaultClient.serviceEndpointTemplate, + this._regionId, + OracleDbAzureVaultClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureVaultClient.serviceEndpointTemplate, + region, + OracleDbAzureVaultClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureVaultClient.serviceEndpointTemplate, + regionId, + OracleDbAzureVaultClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDbAzureVaultWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDbAzureVaultWaiter { + this._waiters = new OracleDbAzureVaultWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDbAzureVaultWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the DB Azure Vault resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAzureVaultCompartmentRequest + * @return ChangeOracleDbAzureVaultCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureVaultCompartment.ts.html |here} to see how to use ChangeOracleDbAzureVaultCompartment API. + */ + public async changeOracleDbAzureVaultCompartment( + changeOracleDbAzureVaultCompartmentRequest: requests.ChangeOracleDbAzureVaultCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultClient#changeOracleDbAzureVaultCompartment." + ); + const operationName = "changeOracleDbAzureVaultCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultId}": changeOracleDbAzureVaultCompartmentRequest.oracleDbAzureVaultId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAzureVaultCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAzureVaultCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAzureVaultCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAzureVaultCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault/{oracleDbAzureVaultId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAzureVaultCompartmentRequest.changeOracleDbAzureVaultCompartmentDetails, + "ChangeOracleDbAzureVaultCompartmentDetails", + model.ChangeOracleDbAzureVaultCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Create DB Azure Vaults based on the provided information, this will fetch Keys related to Azure Vaults. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAzureVaultRequest + * @return CreateOracleDbAzureVaultResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureVault.ts.html |here} to see how to use CreateOracleDbAzureVault API. + */ + public async createOracleDbAzureVault( + createOracleDbAzureVaultRequest: requests.CreateOracleDbAzureVaultRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#createOracleDbAzureVault."); + const operationName = "createOracleDbAzureVault"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAzureVaultRequest.opcRetryToken, + "if-match": createOracleDbAzureVaultRequest.ifMatch, + "opc-request-id": createOracleDbAzureVaultRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAzureVaultRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAzureVaultRequest.createOracleDbAzureVaultDetails, + "CreateOracleDbAzureVaultDetails", + model.CreateOracleDbAzureVaultDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVault", + bodyModel: model.OracleDbAzureVault, + type: "model.OracleDbAzureVault", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete DB Azure Vault details. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAzureVaultRequest + * @return DeleteOracleDbAzureVaultResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureVault.ts.html |here} to see how to use DeleteOracleDbAzureVault API. + */ + public async deleteOracleDbAzureVault( + deleteOracleDbAzureVaultRequest: requests.DeleteOracleDbAzureVaultRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#deleteOracleDbAzureVault."); + const operationName = "deleteOracleDbAzureVault"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultId}": deleteOracleDbAzureVaultRequest.oracleDbAzureVaultId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAzureVaultRequest.ifMatch, + "opc-request-id": deleteOracleDbAzureVaultRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAzureVaultRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault/{oracleDbAzureVaultId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Oracle DB Azure Vault Details form a particular Container Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureVaultRequest + * @return GetOracleDbAzureVaultResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureVault.ts.html |here} to see how to use GetOracleDbAzureVault API. + */ + public async getOracleDbAzureVault( + getOracleDbAzureVaultRequest: requests.GetOracleDbAzureVaultRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#getOracleDbAzureVault."); + const operationName = "getOracleDbAzureVault"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultId}": getOracleDbAzureVaultRequest.oracleDbAzureVaultId + }; + + const queryParams = { + "limit": getOracleDbAzureVaultRequest.limit, + "page": getOracleDbAzureVaultRequest.page, + "sortOrder": getOracleDbAzureVaultRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureVaultRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureVaultRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault/{oracleDbAzureVaultId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVault", + bodyModel: model.OracleDbAzureVault, + type: "model.OracleDbAzureVault", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all DB Azure Vaults based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureVaultsRequest + * @return ListOracleDbAzureVaultsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureVaults.ts.html |here} to see how to use ListOracleDbAzureVaults API. + */ + public async listOracleDbAzureVaults( + listOracleDbAzureVaultsRequest: requests.ListOracleDbAzureVaultsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#listOracleDbAzureVaults."); + const operationName = "listOracleDbAzureVaults"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureVaultsRequest.compartmentId, + "displayName": listOracleDbAzureVaultsRequest.displayName, + "oracleDbAzureVaultId": listOracleDbAzureVaultsRequest.oracleDbAzureVaultId, + "lifecycleState": listOracleDbAzureVaultsRequest.lifecycleState, + "oracleDbAzureResourceGroup": listOracleDbAzureVaultsRequest.oracleDbAzureResourceGroup, + "oracleDbAzureConnectorId": listOracleDbAzureVaultsRequest.oracleDbAzureConnectorId, + "limit": listOracleDbAzureVaultsRequest.limit, + "page": listOracleDbAzureVaultsRequest.page, + "sortOrder": listOracleDbAzureVaultsRequest.sortOrder, + "sortBy": listOracleDbAzureVaultsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureVaultsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureVaultsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVaultSummaryCollection", + bodyModel: model.OracleDbAzureVaultSummaryCollection, + type: "model.OracleDbAzureVaultSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Refresh Oracle DB Azure Vault details from backend. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param RefreshOracleDbAzureVaultRequest + * @return RefreshOracleDbAzureVaultResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/RefreshOracleDbAzureVault.ts.html |here} to see how to use RefreshOracleDbAzureVault API. + */ + public async refreshOracleDbAzureVault( + refreshOracleDbAzureVaultRequest: requests.RefreshOracleDbAzureVaultRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#refreshOracleDbAzureVault."); + const operationName = "refreshOracleDbAzureVault"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultId}": refreshOracleDbAzureVaultRequest.oracleDbAzureVaultId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": refreshOracleDbAzureVaultRequest.opcRetryToken, + "if-match": refreshOracleDbAzureVaultRequest.ifMatch, + "opc-request-id": refreshOracleDbAzureVaultRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + refreshOracleDbAzureVaultRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault/{oracleDbAzureVaultId}/actions/refresh", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB Azure Vault Details for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAzureVaultRequest + * @return UpdateOracleDbAzureVaultResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureVault.ts.html |here} to see how to use UpdateOracleDbAzureVault API. + */ + public async updateOracleDbAzureVault( + updateOracleDbAzureVaultRequest: requests.UpdateOracleDbAzureVaultRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation OracleDbAzureVaultClient#updateOracleDbAzureVault."); + const operationName = "updateOracleDbAzureVault"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultId}": updateOracleDbAzureVaultRequest.oracleDbAzureVaultId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAzureVaultRequest.ifMatch, + "opc-request-id": updateOracleDbAzureVaultRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAzureVaultRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVault/{oracleDbAzureVaultId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAzureVaultRequest.updateOracleDbAzureVaultDetails, + "UpdateOracleDbAzureVaultDetails", + model.UpdateOracleDbAzureVaultDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum OracleDbAzureVaultAssociationApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class OracleDbAzureVaultAssociationClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": OracleDbAzureVaultAssociationWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "OracleDbAzureVaultAssociation"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`OracleDbAzureVaultAssociationClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureVaultAssociationClient.serviceEndpointTemplate, + this._region, + OracleDbAzureVaultAssociationClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureVaultAssociationClient.serviceEndpointTemplate, + this._regionId, + OracleDbAzureVaultAssociationClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + OracleDbAzureVaultAssociationClient.serviceEndpointTemplate, + region, + OracleDbAzureVaultAssociationClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + OracleDbAzureVaultAssociationClient.serviceEndpointTemplate, + regionId, + OracleDbAzureVaultAssociationClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new OracleDbAzureVaultAssociationWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): OracleDbAzureVaultAssociationWaiter { + this._waiters = new OracleDbAzureVaultAssociationWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): OracleDbAzureVaultAssociationWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Delete Oracle DB Azure Vault Association details. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CascadingDeleteOracleDbAzureVaultAssociationRequest + * @return CascadingDeleteOracleDbAzureVaultAssociationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CascadingDeleteOracleDbAzureVaultAssociation.ts.html |here} to see how to use CascadingDeleteOracleDbAzureVaultAssociation API. + */ + public async cascadingDeleteOracleDbAzureVaultAssociation( + cascadingDeleteOracleDbAzureVaultAssociationRequest: requests.CascadingDeleteOracleDbAzureVaultAssociationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#cascadingDeleteOracleDbAzureVaultAssociation." + ); + const operationName = "cascadingDeleteOracleDbAzureVaultAssociation"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultAssociationId}": + cascadingDeleteOracleDbAzureVaultAssociationRequest.oracleDbAzureVaultAssociationId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": cascadingDeleteOracleDbAzureVaultAssociationRequest.opcRetryToken, + "if-match": cascadingDeleteOracleDbAzureVaultAssociationRequest.ifMatch, + "opc-request-id": cascadingDeleteOracleDbAzureVaultAssociationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cascadingDeleteOracleDbAzureVaultAssociationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}/actions/cascadingDelete", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves the Oracle DB Azure Vault Association resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAzureVaultAssociationCompartmentRequest + * @return ChangeOracleDbAzureVaultAssociationCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureVaultAssociationCompartment.ts.html |here} to see how to use ChangeOracleDbAzureVaultAssociationCompartment API. + */ + public async changeOracleDbAzureVaultAssociationCompartment( + changeOracleDbAzureVaultAssociationCompartmentRequest: requests.ChangeOracleDbAzureVaultAssociationCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#changeOracleDbAzureVaultAssociationCompartment." + ); + const operationName = "changeOracleDbAzureVaultAssociationCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultAssociationId}": + changeOracleDbAzureVaultAssociationCompartmentRequest.oracleDbAzureVaultAssociationId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAzureVaultAssociationCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAzureVaultAssociationCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAzureVaultAssociationCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAzureVaultAssociationCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAzureVaultAssociationCompartmentRequest.changeOracleDbAzureVaultAssociationCompartmentDetails, + "ChangeOracleDbAzureVaultAssociationCompartmentDetails", + model.ChangeOracleDbAzureVaultAssociationCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Create Oracle DB Azure Vault Association based on the provided information. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAzureVaultAssociationRequest + * @return CreateOracleDbAzureVaultAssociationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureVaultAssociation.ts.html |here} to see how to use CreateOracleDbAzureVaultAssociation API. + */ + public async createOracleDbAzureVaultAssociation( + createOracleDbAzureVaultAssociationRequest: requests.CreateOracleDbAzureVaultAssociationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#createOracleDbAzureVaultAssociation." + ); + const operationName = "createOracleDbAzureVaultAssociation"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAzureVaultAssociationRequest.opcRetryToken, + "if-match": createOracleDbAzureVaultAssociationRequest.ifMatch, + "opc-request-id": createOracleDbAzureVaultAssociationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAzureVaultAssociationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVaultAssociation", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAzureVaultAssociationRequest.createOracleDbAzureVaultAssociationDetails, + "CreateOracleDbAzureVaultAssociationDetails", + model.CreateOracleDbAzureVaultAssociationDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVaultAssociation", + bodyModel: model.OracleDbAzureVaultAssociation, + type: "model.OracleDbAzureVaultAssociation", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete Oracle DB Azure Vault Association details. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAzureVaultAssociationRequest + * @return DeleteOracleDbAzureVaultAssociationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureVaultAssociation.ts.html |here} to see how to use DeleteOracleDbAzureVaultAssociation API. + */ + public async deleteOracleDbAzureVaultAssociation( + deleteOracleDbAzureVaultAssociationRequest: requests.DeleteOracleDbAzureVaultAssociationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#deleteOracleDbAzureVaultAssociation." + ); + const operationName = "deleteOracleDbAzureVaultAssociation"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultAssociationId}": + deleteOracleDbAzureVaultAssociationRequest.oracleDbAzureVaultAssociationId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAzureVaultAssociationRequest.ifMatch, + "opc-request-id": deleteOracleDbAzureVaultAssociationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAzureVaultAssociationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get Oracle DB Azure Vault Details Association form a particular Container Resource ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAzureVaultAssociationRequest + * @return GetOracleDbAzureVaultAssociationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureVaultAssociation.ts.html |here} to see how to use GetOracleDbAzureVaultAssociation API. + */ + public async getOracleDbAzureVaultAssociation( + getOracleDbAzureVaultAssociationRequest: requests.GetOracleDbAzureVaultAssociationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#getOracleDbAzureVaultAssociation." + ); + const operationName = "getOracleDbAzureVaultAssociation"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultAssociationId}": + getOracleDbAzureVaultAssociationRequest.oracleDbAzureVaultAssociationId + }; + + const queryParams = { + "limit": getOracleDbAzureVaultAssociationRequest.limit, + "page": getOracleDbAzureVaultAssociationRequest.page, + "sortOrder": getOracleDbAzureVaultAssociationRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAzureVaultAssociationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAzureVaultAssociationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVaultAssociation", + bodyModel: model.OracleDbAzureVaultAssociation, + type: "model.OracleDbAzureVaultAssociation", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the all Oracle DB Azure Associations based on filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAzureVaultAssociationsRequest + * @return ListOracleDbAzureVaultAssociationsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureVaultAssociations.ts.html |here} to see how to use ListOracleDbAzureVaultAssociations API. + */ + public async listOracleDbAzureVaultAssociations( + listOracleDbAzureVaultAssociationsRequest: requests.ListOracleDbAzureVaultAssociationsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#listOracleDbAzureVaultAssociations." + ); + const operationName = "listOracleDbAzureVaultAssociations"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAzureVaultAssociationsRequest.compartmentId, + "oracleDbAzureVaultId": listOracleDbAzureVaultAssociationsRequest.oracleDbAzureVaultId, + "displayName": listOracleDbAzureVaultAssociationsRequest.displayName, + "oracleDbAzureVaultAssociationId": + listOracleDbAzureVaultAssociationsRequest.oracleDbAzureVaultAssociationId, + "lifecycleState": listOracleDbAzureVaultAssociationsRequest.lifecycleState, + "oracleDbAzureConnectorId": + listOracleDbAzureVaultAssociationsRequest.oracleDbAzureConnectorId, + "limit": listOracleDbAzureVaultAssociationsRequest.limit, + "page": listOracleDbAzureVaultAssociationsRequest.page, + "sortOrder": listOracleDbAzureVaultAssociationsRequest.sortOrder, + "sortBy": listOracleDbAzureVaultAssociationsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAzureVaultAssociationsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAzureVaultAssociationsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVaultAssociation", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAzureVaultAssociationSummaryCollection", + bodyModel: model.OracleDbAzureVaultAssociationSummaryCollection, + type: "model.OracleDbAzureVaultAssociationSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB Azure Vault Association Details for a given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAzureVaultAssociationRequest + * @return UpdateOracleDbAzureVaultAssociationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureVaultAssociation.ts.html |here} to see how to use UpdateOracleDbAzureVaultAssociation API. + */ + public async updateOracleDbAzureVaultAssociation( + updateOracleDbAzureVaultAssociationRequest: requests.UpdateOracleDbAzureVaultAssociationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation OracleDbAzureVaultAssociationClient#updateOracleDbAzureVaultAssociation." + ); + const operationName = "updateOracleDbAzureVaultAssociation"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAzureVaultAssociationId}": + updateOracleDbAzureVaultAssociationRequest.oracleDbAzureVaultAssociationId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAzureVaultAssociationRequest.ifMatch, + "opc-request-id": updateOracleDbAzureVaultAssociationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAzureVaultAssociationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAzureVaultAssociation/{oracleDbAzureVaultAssociationId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAzureVaultAssociationRequest.updateOracleDbAzureVaultAssociationDetails, + "UpdateOracleDbAzureVaultAssociationDetails", + model.UpdateOracleDbAzureVaultAssociationDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum WorkRequestApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class WorkRequestClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": WorkRequestWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "WorkRequest"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + WorkRequestClient.serviceEndpointTemplate, + this._region, + WorkRequestClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + WorkRequestClient.serviceEndpointTemplate, + this._regionId, + WorkRequestClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + WorkRequestClient.serviceEndpointTemplate, + region, + WorkRequestClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + WorkRequestClient.serviceEndpointTemplate, + regionId, + WorkRequestClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new WorkRequestWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): WorkRequestWaiter { + this._waiters = new WorkRequestWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): WorkRequestWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Cancels a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelWorkRequestRequest + * @return CancelWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. + */ + public async cancelWorkRequest( + cancelWorkRequestRequest: requests.CancelWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation WorkRequestClient#cancelWorkRequest."); + const operationName = "cancelWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelWorkRequestRequest.ifMatch, + "opc-request-id": cancelWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets details of the work request with the given ID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation WorkRequestClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a (paginated) list of errors for the work request with the given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a (paginated) list of logs for the work request with the given ID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation WorkRequestClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/dbmulticloud/lib/model/action-type.ts b/lib/dbmulticloud/lib/model/action-type.ts new file mode 100644 index 0000000000..72905edf48 --- /dev/null +++ b/lib/dbmulticloud/lib/model/action-type.ts @@ -0,0 +1,52 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Creating = "CREATING", + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Failed = "FAILED", + + /** + * 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" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/dbmulticloud/lib/model/arc-agent-nodes.ts b/lib/dbmulticloud/lib/model/arc-agent-nodes.ts new file mode 100644 index 0000000000..bf54cd98e5 --- /dev/null +++ b/lib/dbmulticloud/lib/model/arc-agent-nodes.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Azure Arc Agent Node Details. + * + */ +export interface ArcAgentNodes { + /** + * Host Name or Azure Arc Agent Name. + */ + "hostName"?: string; + /** + * Host ID. + */ + "hostId"?: string; + /** + * Current Arc Agent Version installed on this node of VM Cluster. + */ + "currentArcAgentVersion"?: string; + /** + * The current status of the Azure Arc Agent Resource. + */ + "status"?: ArcAgentNodes.Status; + /** + * time when the Azure Arc Agent's status was checked [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeLastChecked"?: Date; +} + +export namespace ArcAgentNodes { + export enum Status { + Connected = "CONNECTED", + Disconnected = "DISCONNECTED", + Unknown = "UNKNOWN", + /** + * 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" + } + + export function getJsonObj(obj: ArcAgentNodes): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ArcAgentNodes): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts b/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts new file mode 100644 index 0000000000..b66836b7fb --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Multi Cloud Resource Discovery. + */ +export interface ChangeMultiCloudResourceDiscoveryCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment to contain the Multi Cloud Resource Discovery. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeMultiCloudResourceDiscoveryCompartmentDetails { + export function getJsonObj(obj: ChangeMultiCloudResourceDiscoveryCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeMultiCloudResourceDiscoveryCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts new file mode 100644 index 0000000000..3a165e6135 --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB Azure Blob Container Resource. + */ +export interface ChangeOracleDbAzureBlobContainerCompartmentDetails { + /** + * The ID of the new compartment to contain the Oracle DB Azure Blob Container Resource. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeOracleDbAzureBlobContainerCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAzureBlobContainerCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeOracleDbAzureBlobContainerCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts new file mode 100644 index 0000000000..926d62f07a --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB Azure Blob Mount resource. + */ +export interface ChangeOracleDbAzureBlobMountCompartmentDetails { + /** + * The ID of the new compartment to contain the Oracle DB Azure Blob Mount resource. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeOracleDbAzureBlobMountCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAzureBlobMountCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeOracleDbAzureBlobMountCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts new file mode 100644 index 0000000000..1ca95a1116 --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB Azure Connector Resource. + */ +export interface ChangeOracleDbAzureConnectorCompartmentDetails { + /** + * The ID of the new compartment to contain the Oracle DB Azure Connector Resource. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeOracleDbAzureConnectorCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAzureConnectorCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeOracleDbAzureConnectorCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts new file mode 100644 index 0000000000..248603b9eb --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB Azure Vault Association Resource. + */ +export interface ChangeOracleDbAzureVaultAssociationCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment to contain the Oracle DB Azure Vault Association Resource. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeOracleDbAzureVaultAssociationCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAzureVaultAssociationCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeOracleDbAzureVaultAssociationCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts new file mode 100644 index 0000000000..244494bfa9 --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts @@ -0,0 +1,71 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the DB Azure Vault Resource. + */ +export interface ChangeOracleDbAzureVaultCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment to contain the DB Azure Vault Resource. + */ + "compartmentId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ChangeOracleDbAzureVaultCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAzureVaultCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeOracleDbAzureVaultCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts b/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts new file mode 100644 index 0000000000..2d071da796 --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to discover resource. + * + */ +export interface CreateMultiCloudResourceDiscoveryDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Discovered Resource. + */ + "compartmentId": string; + /** + * Display name of Discovered Resource. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Oracle DB Connector. + */ + "oracleDbConnectorId": string; + /** + * Resource Type to discover. + */ + "resourceType": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateMultiCloudResourceDiscoveryDetails { + export function getJsonObj(obj: CreateMultiCloudResourceDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateMultiCloudResourceDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts new file mode 100644 index 0000000000..f095d29bfe --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts @@ -0,0 +1,85 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to create Oracle DB Azure Blob Container. + * + */ +export interface CreateOracleDbAzureBlobContainerDetails { + /** + * The OCID of the compartment that contains Oracle DB Azure Blob Container Resource. + */ + "compartmentId": string; + /** + * Display name of Oracle DB Azure Blob Container. + */ + "displayName": string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Azure Storage Account Name. + */ + "azureStorageAccountName": string; + /** + * Azure Storage Container Name. + */ + "azureStorageContainerName": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAzureBlobContainerDetails { + export function getJsonObj(obj: CreateOracleDbAzureBlobContainerDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAzureBlobContainerDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts new file mode 100644 index 0000000000..9b40a480d1 --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to mount Azure Container in OCI Database Resource. + * + */ +export interface CreateOracleDbAzureBlobMountDetails { + /** + * The OCID of the compartment that contains VMs where to mount Azure Container. + */ + "compartmentId": string; + /** + * Oracle DB Azure Blob Mount Resource name. + */ + "displayName": string; + /** + * The OCID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * The OCID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAzureBlobMountDetails { + export function getJsonObj(obj: CreateOracleDbAzureBlobMountDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAzureBlobMountDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts new file mode 100644 index 0000000000..04b7c06d3b --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts @@ -0,0 +1,101 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to create Oracle DB Azure Connector Resource. + * + */ +export interface CreateOracleDbAzureConnectorDetails { + /** + * The ID of the compartment that contains Oracle DB Azure Connector Resource. + */ + "compartmentId": string; + /** + * Oracle DB Azure Connector Resource name. + */ + "displayName": string; + /** + * The ID of the DB Cluster Resource where this Azure Arc Agent Identity to configure. + */ + "dbClusterResourceId": string; + /** + * Azure Identity Mechanism. + */ + "azureIdentityMechanism": string; + /** + * Azure Tenant ID. + */ + "azureTenantId": string; + /** + * Azure Subscription ID. + */ + "azureSubscriptionId": string; + /** + * Azure Resource Group Name. + */ + "azureResourceGroup": string; + /** + * Azure bearer access token. If bearer access token is provided then Service Principal details are not requires. + */ + "accessToken"?: string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAzureConnectorDetails { + export function getJsonObj(obj: CreateOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts new file mode 100644 index 0000000000..86e51c091b --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to create Oracle DB Azure Vault Association. + * + */ +export interface CreateOracleDbAzureVaultAssociationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Azure Vault Association Resource. + */ + "compartmentId": string; + /** + * Display name of Oracle DB Azure Vault Association. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault. + */ + "oracleDbAzureVaultId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Connector. + */ + "oracleDbAzureConnectorId": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAzureVaultAssociationDetails { + export function getJsonObj(obj: CreateOracleDbAzureVaultAssociationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAzureVaultAssociationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts new file mode 100644 index 0000000000..ce69138491 --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts @@ -0,0 +1,93 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to create DB Azure Vault. + * + */ +export interface CreateOracleDbAzureVaultDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains DB Azure Vault Resource. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB Connector Resource. + */ + "oracleDbConnectorId": string; + /** + * Display name of DB Azure Vault. + */ + "displayName": string; + /** + * Display name of Azure Resource Group. + */ + "oracleDbAzureResourceGroup"?: string; + /** + * Azure Vault Id. + */ + "azureVaultId"?: string; + /** + * Vault Resource Type. + */ + "type"?: string; + /** + * Vault Resource Location. + */ + "location"?: string; + /** + * Resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAzureVaultDetails { + export function getJsonObj(obj: CreateOracleDbAzureVaultDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAzureVaultDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/index.ts b/lib/dbmulticloud/lib/model/index.ts new file mode 100644 index 0000000000..17cf8cd8ac --- /dev/null +++ b/lib/dbmulticloud/lib/model/index.ts @@ -0,0 +1,133 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as ArcAgentNodes from "./arc-agent-nodes"; +export import ArcAgentNodes = ArcAgentNodes.ArcAgentNodes; +import * as ChangeMultiCloudResourceDiscoveryCompartmentDetails from "./change-multi-cloud-resource-discovery-compartment-details"; +export import ChangeMultiCloudResourceDiscoveryCompartmentDetails = ChangeMultiCloudResourceDiscoveryCompartmentDetails.ChangeMultiCloudResourceDiscoveryCompartmentDetails; +import * as ChangeOracleDbAzureBlobContainerCompartmentDetails from "./change-oracle-db-azure-blob-container-compartment-details"; +export import ChangeOracleDbAzureBlobContainerCompartmentDetails = ChangeOracleDbAzureBlobContainerCompartmentDetails.ChangeOracleDbAzureBlobContainerCompartmentDetails; +import * as ChangeOracleDbAzureBlobMountCompartmentDetails from "./change-oracle-db-azure-blob-mount-compartment-details"; +export import ChangeOracleDbAzureBlobMountCompartmentDetails = ChangeOracleDbAzureBlobMountCompartmentDetails.ChangeOracleDbAzureBlobMountCompartmentDetails; +import * as ChangeOracleDbAzureConnectorCompartmentDetails from "./change-oracle-db-azure-connector-compartment-details"; +export import ChangeOracleDbAzureConnectorCompartmentDetails = ChangeOracleDbAzureConnectorCompartmentDetails.ChangeOracleDbAzureConnectorCompartmentDetails; +import * as ChangeOracleDbAzureVaultAssociationCompartmentDetails from "./change-oracle-db-azure-vault-association-compartment-details"; +export import ChangeOracleDbAzureVaultAssociationCompartmentDetails = ChangeOracleDbAzureVaultAssociationCompartmentDetails.ChangeOracleDbAzureVaultAssociationCompartmentDetails; +import * as ChangeOracleDbAzureVaultCompartmentDetails from "./change-oracle-db-azure-vault-compartment-details"; +export import ChangeOracleDbAzureVaultCompartmentDetails = ChangeOracleDbAzureVaultCompartmentDetails.ChangeOracleDbAzureVaultCompartmentDetails; +import * as CreateMultiCloudResourceDiscoveryDetails from "./create-multi-cloud-resource-discovery-details"; +export import CreateMultiCloudResourceDiscoveryDetails = CreateMultiCloudResourceDiscoveryDetails.CreateMultiCloudResourceDiscoveryDetails; +import * as CreateOracleDbAzureBlobContainerDetails from "./create-oracle-db-azure-blob-container-details"; +export import CreateOracleDbAzureBlobContainerDetails = CreateOracleDbAzureBlobContainerDetails.CreateOracleDbAzureBlobContainerDetails; +import * as CreateOracleDbAzureBlobMountDetails from "./create-oracle-db-azure-blob-mount-details"; +export import CreateOracleDbAzureBlobMountDetails = CreateOracleDbAzureBlobMountDetails.CreateOracleDbAzureBlobMountDetails; +import * as CreateOracleDbAzureConnectorDetails from "./create-oracle-db-azure-connector-details"; +export import CreateOracleDbAzureConnectorDetails = CreateOracleDbAzureConnectorDetails.CreateOracleDbAzureConnectorDetails; +import * as CreateOracleDbAzureVaultAssociationDetails from "./create-oracle-db-azure-vault-association-details"; +export import CreateOracleDbAzureVaultAssociationDetails = CreateOracleDbAzureVaultAssociationDetails.CreateOracleDbAzureVaultAssociationDetails; +import * as CreateOracleDbAzureVaultDetails from "./create-oracle-db-azure-vault-details"; +export import CreateOracleDbAzureVaultDetails = CreateOracleDbAzureVaultDetails.CreateOracleDbAzureVaultDetails; +import * as MultiCloudResourceDiscovery from "./multi-cloud-resource-discovery"; +export import MultiCloudResourceDiscovery = MultiCloudResourceDiscovery.MultiCloudResourceDiscovery; +import * as MultiCloudResourceDiscoverySummary from "./multi-cloud-resource-discovery-summary"; +export import MultiCloudResourceDiscoverySummary = MultiCloudResourceDiscoverySummary.MultiCloudResourceDiscoverySummary; +import * as MultiCloudResourceDiscoverySummaryCollection from "./multi-cloud-resource-discovery-summary-collection"; +export import MultiCloudResourceDiscoverySummaryCollection = MultiCloudResourceDiscoverySummaryCollection.MultiCloudResourceDiscoverySummaryCollection; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as OracleDbAzureBlobContainer from "./oracle-db-azure-blob-container"; +export import OracleDbAzureBlobContainer = OracleDbAzureBlobContainer.OracleDbAzureBlobContainer; +import * as OracleDbAzureBlobContainerSummary from "./oracle-db-azure-blob-container-summary"; +export import OracleDbAzureBlobContainerSummary = OracleDbAzureBlobContainerSummary.OracleDbAzureBlobContainerSummary; +import * as OracleDbAzureBlobContainerSummaryCollection from "./oracle-db-azure-blob-container-summary-collection"; +export import OracleDbAzureBlobContainerSummaryCollection = OracleDbAzureBlobContainerSummaryCollection.OracleDbAzureBlobContainerSummaryCollection; +import * as OracleDbAzureBlobMount from "./oracle-db-azure-blob-mount"; +export import OracleDbAzureBlobMount = OracleDbAzureBlobMount.OracleDbAzureBlobMount; +import * as OracleDbAzureBlobMountSummary from "./oracle-db-azure-blob-mount-summary"; +export import OracleDbAzureBlobMountSummary = OracleDbAzureBlobMountSummary.OracleDbAzureBlobMountSummary; +import * as OracleDbAzureBlobMountSummaryCollection from "./oracle-db-azure-blob-mount-summary-collection"; +export import OracleDbAzureBlobMountSummaryCollection = OracleDbAzureBlobMountSummaryCollection.OracleDbAzureBlobMountSummaryCollection; +import * as OracleDbAzureConnector from "./oracle-db-azure-connector"; +export import OracleDbAzureConnector = OracleDbAzureConnector.OracleDbAzureConnector; +import * as OracleDbAzureConnectorSummary from "./oracle-db-azure-connector-summary"; +export import OracleDbAzureConnectorSummary = OracleDbAzureConnectorSummary.OracleDbAzureConnectorSummary; +import * as OracleDbAzureConnectorSummaryCollection from "./oracle-db-azure-connector-summary-collection"; +export import OracleDbAzureConnectorSummaryCollection = OracleDbAzureConnectorSummaryCollection.OracleDbAzureConnectorSummaryCollection; +import * as OracleDbAzureKey from "./oracle-db-azure-key"; +export import OracleDbAzureKey = OracleDbAzureKey.OracleDbAzureKey; +import * as OracleDbAzureKeySummary from "./oracle-db-azure-key-summary"; +export import OracleDbAzureKeySummary = OracleDbAzureKeySummary.OracleDbAzureKeySummary; +import * as OracleDbAzureKeySummaryCollection from "./oracle-db-azure-key-summary-collection"; +export import OracleDbAzureKeySummaryCollection = OracleDbAzureKeySummaryCollection.OracleDbAzureKeySummaryCollection; +import * as OracleDbAzureVault from "./oracle-db-azure-vault"; +export import OracleDbAzureVault = OracleDbAzureVault.OracleDbAzureVault; +import * as OracleDbAzureVaultAssociation from "./oracle-db-azure-vault-association"; +export import OracleDbAzureVaultAssociation = OracleDbAzureVaultAssociation.OracleDbAzureVaultAssociation; +import * as OracleDbAzureVaultAssociationSummary from "./oracle-db-azure-vault-association-summary"; +export import OracleDbAzureVaultAssociationSummary = OracleDbAzureVaultAssociationSummary.OracleDbAzureVaultAssociationSummary; +import * as OracleDbAzureVaultAssociationSummaryCollection from "./oracle-db-azure-vault-association-summary-collection"; +export import OracleDbAzureVaultAssociationSummaryCollection = OracleDbAzureVaultAssociationSummaryCollection.OracleDbAzureVaultAssociationSummaryCollection; +import * as OracleDbAzureVaultSummary from "./oracle-db-azure-vault-summary"; +export import OracleDbAzureVaultSummary = OracleDbAzureVaultSummary.OracleDbAzureVaultSummary; +import * as OracleDbAzureVaultSummaryCollection from "./oracle-db-azure-vault-summary-collection"; +export import OracleDbAzureVaultSummaryCollection = OracleDbAzureVaultSummaryCollection.OracleDbAzureVaultSummaryCollection; +import * as PatchOracleDbAzureConnectorDetails from "./patch-oracle-db-azure-connector-details"; +export import PatchOracleDbAzureConnectorDetails = PatchOracleDbAzureConnectorDetails.PatchOracleDbAzureConnectorDetails; +import * as Resources from "./resources"; +export import Resources = Resources.Resources; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as UpdateMultiCloudResourceDiscoveryDetails from "./update-multi-cloud-resource-discovery-details"; +export import UpdateMultiCloudResourceDiscoveryDetails = UpdateMultiCloudResourceDiscoveryDetails.UpdateMultiCloudResourceDiscoveryDetails; +import * as UpdateOracleDbAzureBlobContainerDetails from "./update-oracle-db-azure-blob-container-details"; +export import UpdateOracleDbAzureBlobContainerDetails = UpdateOracleDbAzureBlobContainerDetails.UpdateOracleDbAzureBlobContainerDetails; +import * as UpdateOracleDbAzureBlobMountDetails from "./update-oracle-db-azure-blob-mount-details"; +export import UpdateOracleDbAzureBlobMountDetails = UpdateOracleDbAzureBlobMountDetails.UpdateOracleDbAzureBlobMountDetails; +import * as UpdateOracleDbAzureConnectorDetails from "./update-oracle-db-azure-connector-details"; +export import UpdateOracleDbAzureConnectorDetails = UpdateOracleDbAzureConnectorDetails.UpdateOracleDbAzureConnectorDetails; +import * as UpdateOracleDbAzureVaultAssociationDetails from "./update-oracle-db-azure-vault-association-details"; +export import UpdateOracleDbAzureVaultAssociationDetails = UpdateOracleDbAzureVaultAssociationDetails.UpdateOracleDbAzureVaultAssociationDetails; +import * as UpdateOracleDbAzureVaultDetails from "./update-oracle-db-azure-vault-details"; +export import UpdateOracleDbAzureVaultDetails = UpdateOracleDbAzureVaultDetails.UpdateOracleDbAzureVaultDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts new file mode 100644 index 0000000000..93d732a8e7 --- /dev/null +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts @@ -0,0 +1,68 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of MultiCloudResourceDiscoverySummary resources. + */ +export interface MultiCloudResourceDiscoverySummaryCollection { + /** + * This list contains the summary of Multi Cloud Resource Discovery. + */ + "items": Array; +} + +export namespace MultiCloudResourceDiscoverySummaryCollection { + export function getJsonObj(obj: MultiCloudResourceDiscoverySummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MultiCloudResourceDiscoverySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: MultiCloudResourceDiscoverySummaryCollection + ): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MultiCloudResourceDiscoverySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts new file mode 100644 index 0000000000..c06e54334a --- /dev/null +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts @@ -0,0 +1,132 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Multi Cloud Resource Discovery Summary. + * + */ +export interface MultiCloudResourceDiscoverySummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "id"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Multi Cloud Discovery Resource. + */ + "compartmentId"?: string; + /** + * Display name of Multi Cloud Discovery Resource. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector Resource. + */ + "oracleDbConnectorId"?: string; + /** + * List of All Discovered Vaults and Keys for respective vaults. + */ + "resources"?: Array; + /** + * Resource Type to discover. + */ + "resourceType"?: string; + /** + * The current lifecycle state of the Discovered Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Multi Cloud Discovery Resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Multi Cloud Discovery Resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Multi Cloud Discovery Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MultiCloudResourceDiscoverySummary { + export function getJsonObj(obj: MultiCloudResourceDiscoverySummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.Resources.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MultiCloudResourceDiscoverySummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.Resources.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts new file mode 100644 index 0000000000..f17f12b6c3 --- /dev/null +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts @@ -0,0 +1,159 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Multi Cloud Resource Discovery Object. + * + */ +export interface MultiCloudResourceDiscovery { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Multi Cloud Discovery Resource. + */ + "compartmentId": string; + /** + * Display name of Multi Cloud Discovery Resource. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector Resource. + */ + "oracleDbConnectorId": string; + /** + * List of All Discovered resources. + */ + "resources"?: Array; + /** + * Resource Type to discover. + */ + "resourceType": MultiCloudResourceDiscovery.ResourceType; + /** + * The current lifecycle state of the discovered resource. + */ + "lifecycleState"?: MultiCloudResourceDiscovery.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Multi Cloud Discovery Resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Multi Cloud Discovery Resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Multi Cloud Discovery Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MultiCloudResourceDiscovery { + export enum ResourceType { + Vaults = "VAULTS", + Storage = "STORAGE", + /** + * 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" + } + + export enum LifecycleState { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + Succeeded = "SUCCEEDED", + Updating = "UPDATING", + Canceling = "CANCELING", + Canceled = "CANCELED", + Failed = "FAILED", + NeedsAttention = "NEEDS_ATTENTION", + /** + * 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" + } + + export function getJsonObj(obj: MultiCloudResourceDiscovery): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.Resources.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MultiCloudResourceDiscovery): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.Resources.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/operation-status.ts b/lib/dbmulticloud/lib/model/operation-status.ts new file mode 100644 index 0000000000..c95ccae200 --- /dev/null +++ b/lib/dbmulticloud/lib/model/operation-status.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible operation status. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Canceling = "CANCELING", + Canceled = "CANCELED", + + /** + * 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" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/dbmulticloud/lib/model/operation-type.ts b/lib/dbmulticloud/lib/model/operation-type.ts new file mode 100644 index 0000000000..282594b031 --- /dev/null +++ b/lib/dbmulticloud/lib/model/operation-type.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible operation types. + **/ +export enum OperationType { + CreateAzureConnector = "CREATE_AZURE_CONNECTOR", + DeleteAzureConnector = "DELETE_AZURE_CONNECTOR", + UpdateAzureConnector = "UPDATE_AZURE_CONNECTOR", + MoveAzureConnector = "MOVE_AZURE_CONNECTOR", + CreateAzureBlobContainer = "CREATE_AZURE_BLOB_CONTAINER", + DeleteAzureBlobContainer = "DELETE_AZURE_BLOB_CONTAINER", + UpdateAzureBlobContainer = "UPDATE_AZURE_BLOB_CONTAINER", + MoveAzureBlobContainer = "MOVE_AZURE_BLOB_CONTAINER", + CreateAzureBlobMount = "CREATE_AZURE_BLOB_MOUNT", + MoveAzureBlobMount = "MOVE_AZURE_BLOB_MOUNT", + UpdateAzureBlobMount = "UPDATE_AZURE_BLOB_MOUNT", + DeleteAzureBlobMount = "DELETE_AZURE_BLOB_MOUNT", + CreateMulticloudDiscovery = "CREATE_MULTICLOUD_DISCOVERY", + DeleteMulticloudDiscovery = "DELETE_MULTICLOUD_DISCOVERY", + UpdateMulticloudDiscovery = "UPDATE_MULTICLOUD_DISCOVERY", + MoveMulticloudDiscovery = "MOVE_MULTICLOUD_DISCOVERY", + CreateAzureVault = "CREATE_AZURE_VAULT", + DeleteAzureVault = "DELETE_AZURE_VAULT", + UpdateAzureVault = "UPDATE_AZURE_VAULT", + MoveAzureVault = "MOVE_AZURE_VAULT", + RefreshAzureVault = "REFRESH_AZURE_VAULT", + CreateAzureVaultAssociation = "CREATE_AZURE_VAULT_ASSOCIATION", + DeleteAzureVaultAssociation = "DELETE_AZURE_VAULT_ASSOCIATION", + UpdateAzureVaultAssociation = "UPDATE_AZURE_VAULT_ASSOCIATION", + MoveAzureVaultAssociation = "MOVE_AZURE_VAULT_ASSOCIATION", + PatchDbResource = "PATCH_DB_RESOURCE", + CreateGcpIdentityConfiguration = "CREATE_GCP_IDENTITY_CONFIGURATION", + + /** + * 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" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts new file mode 100644 index 0000000000..db7e81da97 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureBlobContainerSummary resources. + */ +export interface OracleDbAzureBlobContainerSummaryCollection { + /** + * This list contains the summary of Oracle DB Azure Blob Container resources. + */ + "items": Array; +} + +export namespace OracleDbAzureBlobContainerSummaryCollection { + export function getJsonObj(obj: OracleDbAzureBlobContainerSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureBlobContainerSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobContainerSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureBlobContainerSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts new file mode 100644 index 0000000000..75a70f89f7 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts @@ -0,0 +1,118 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Blob Container Resource Summary. + * + */ +export interface OracleDbAzureBlobContainerSummary { + /** + * The ID for the new mount resource. + */ + "id"?: string; + /** + * Oracle DB Azure Blob Container resource name. + */ + "displayName"?: string; + /** + * The ID of the compartment contains Oracle DB Azure Blob Container Resource. + */ + "compartmentId"?: string; + /** + * Private Endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private Endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Azure Storage Account Name. + */ + "azureStorageAccountName"?: string; + /** + * Azure Storage Container Name. + */ + "azureStorageContainerName"?: string; + /** + * The current lifecycle state of the Azure Arc Agent Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Blob Container was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Blob Container was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Blob Container Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureBlobContainerSummary { + export function getJsonObj(obj: OracleDbAzureBlobContainerSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobContainerSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts new file mode 100644 index 0000000000..004327f202 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts @@ -0,0 +1,132 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Blob Container Resource Object. + * + */ +export interface OracleDbAzureBlobContainer { + /** + * The ID of the compartment that contains Oracle DB Azure Blob Container Resource. + */ + "id": string; + /** + * The ID of the compartment that contains Oracle DB Azure Blob Container Resource. + */ + "compartmentId": string; + /** + * Display name of Oracle DB Azure Blob Container. + */ + "displayName": string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Azure Storage Account Name. + */ + "azureStorageAccountName": string; + /** + * Azure Storage Container Name. + */ + "azureStorageContainerName": string; + /** + * The current lifecycle state of the Oracle DB Azure Blob Container Resource. + */ + "lifecycleState"?: OracleDbAzureBlobContainer.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Blob Container was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Blob Container was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Blob Container Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureBlobContainer { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureBlobContainer): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobContainer): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts new file mode 100644 index 0000000000..39ec1e61ef --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureBlobMountSummary resources. + */ +export interface OracleDbAzureBlobMountSummaryCollection { + /** + * This list contains Oracle DB Azure Blob Mount resources. + */ + "items": Array; +} + +export namespace OracleDbAzureBlobMountSummaryCollection { + export function getJsonObj(obj: OracleDbAzureBlobMountSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureBlobMountSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobMountSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureBlobMountSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts new file mode 100644 index 0000000000..2f986249f0 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts @@ -0,0 +1,114 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Blob Mount resource details. + * + */ +export interface OracleDbAzureBlobMountSummary { + /** + * The ID for the new Oracle DB Azure Blob Mount resource. + */ + "id"?: string; + /** + * Oracle DB Azure Blob Mount resource name. + */ + "displayName"?: string; + /** + * The ID of the compartment that contains VM where to install Azure Arc Agent. + */ + "compartmentId"?: string; + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The ID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId"?: string; + /** + * Azure Container mount path. + */ + "mountPath"?: string; + /** + * The current lifecycle state of the Oracle DB Azure Blob Mount Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Blob Mount resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Blob Mount resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Blob Mount Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureBlobMountSummary { + export function getJsonObj(obj: OracleDbAzureBlobMountSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobMountSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts new file mode 100644 index 0000000000..5d3984e126 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts @@ -0,0 +1,128 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Blob Mount resource details. + * + */ +export interface OracleDbAzureBlobMount { + /** + * The OCID for the new Oracle DB Azure Blob Mount resource. + */ + "id": string; + /** + * Oracle DB Azure Blob Mount name. + */ + "displayName": string; + /** + * The OCID of the compartment that contains Oracle DB Azure Blob Mount resource. + */ + "compartmentId": string; + /** + * The OCID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * The OCID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * Azure Container mount path. + */ + "mountPath"?: string; + /** + * The current lifecycle state of the Azure Arc Agent Resource. + */ + "lifecycleState"?: OracleDbAzureBlobMount.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Blob Mount was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Blob Mount was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Blob Mount Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureBlobMount { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureBlobMount): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureBlobMount): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts new file mode 100644 index 0000000000..8a6f5cb0d6 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureConnectorSummary resources. + */ +export interface OracleDbAzureConnectorSummaryCollection { + /** + * contains OracleDbAzureConnectorSummary + */ + "items": Array; +} + +export namespace OracleDbAzureConnectorSummaryCollection { + export function getJsonObj(obj: OracleDbAzureConnectorSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureConnectorSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureConnectorSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureConnectorSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts new file mode 100644 index 0000000000..63810adc74 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts @@ -0,0 +1,151 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details of Oracle DB Azure Connector Resource. + */ +export interface OracleDbAzureConnectorSummary { + /** + * Oracle DB Azure Connector Resource ID. + */ + "id"?: string; + /** + * The ID of the compartment that contains Oracle DB Azure Connector Resource. + */ + "compartmentId"?: string; + /** + * The ID of the DB Cluster Resource where this Azure Arc Agent Identity to configure. + */ + "dbClusterResourceId"?: string; + /** + * Oracle DB Azure Connector Resource Name. + */ + "displayName"?: string; + /** + * List of All VMs where Arc Agent Identity is configure under VMCluster. + */ + "arcAgentNodes"?: Array; + /** + * Azure Tenant ID. + */ + "azureTenantId"?: string; + /** + * Azure Subscription ID. + */ + "azureSubscriptionId"?: string; + /** + * Azure Resource Group Name. + */ + "azureResourceGroup"?: string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * The current lifecycle state of the Oracle DB Azure Connector Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Azure Identity Mechanism. + */ + "azureIdentityMechanism"?: string; + /** + * Time when the Oracle DB Azure Connector Resource was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Connector Resource was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Connector Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureConnectorSummary { + export function getJsonObj(obj: OracleDbAzureConnectorSummary): object { + const jsonObj = { + ...obj, + ...{ + "arcAgentNodes": obj.arcAgentNodes + ? obj.arcAgentNodes.map(item => { + return model.ArcAgentNodes.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureConnectorSummary): object { + const jsonObj = { + ...obj, + ...{ + "arcAgentNodes": obj.arcAgentNodes + ? obj.arcAgentNodes.map(item => { + return model.ArcAgentNodes.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts new file mode 100644 index 0000000000..738c21633a --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts @@ -0,0 +1,180 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Connector Details, this resource is for to create Azure Identity on Database Resource. + * + */ +export interface OracleDbAzureConnector { + /** + * The ID of the Oracle DB Azure Connector resource. + */ + "id": string; + /** + * Oracle DB Azure Connector resource name. + */ + "displayName"?: string; + /** + * The ID of the compartment that contains Oracle DB Azure Connector resource. + */ + "compartmentId": string; + /** + * List of All VMs where Arc Agent is Install under VMCluster. + */ + "arcAgentNodes"?: Array; + /** + * The ID of the DB Cluster Resource where this Azure Arc Agent identity to configure. + */ + "dbClusterResourceId": string; + /** + * Azure Tenant ID. + */ + "azureTenantId": string; + /** + * Azure Subscription ID. + */ + "azureSubscriptionId": string; + /** + * Azure Resource Group Name. + */ + "azureResourceGroup": string; + /** + * Azure bearer access token. If bearer access token is provided then Service Principal detail is not required. + */ + "accessToken"?: string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Azure Identity Mechanism. + */ + "azureIdentityMechanism"?: OracleDbAzureConnector.AzureIdentityMechanism; + /** + * The current lifecycle state of the Azure Arc Agent Resource. + */ + "lifecycleState"?: OracleDbAzureConnector.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Connector Resource was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Connector Resource was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Connector Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureConnector { + export enum AzureIdentityMechanism { + ArcAgent = "ARC_AGENT", + ServicePrincipal = "SERVICE_PRINCIPAL", + /** + * 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" + } + + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureConnector): object { + const jsonObj = { + ...obj, + ...{ + "arcAgentNodes": obj.arcAgentNodes + ? obj.arcAgentNodes.map(item => { + return model.ArcAgentNodes.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureConnector): object { + const jsonObj = { + ...obj, + ...{ + "arcAgentNodes": obj.arcAgentNodes + ? obj.arcAgentNodes.map(item => { + return model.ArcAgentNodes.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts new file mode 100644 index 0000000000..6bc51933aa --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureKeySummary resources. + */ +export interface OracleDbAzureKeySummaryCollection { + /** + * This list contains the summary of Oracle DB Azure Key resources. + */ + "items": Array; +} + +export namespace OracleDbAzureKeySummaryCollection { + export function getJsonObj(obj: OracleDbAzureKeySummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureKeySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureKeySummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureKeySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts new file mode 100644 index 0000000000..3ca2e05001 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts @@ -0,0 +1,110 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Key Resource Summary. + * + */ +export interface OracleDbAzureKeySummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle DB Azure Vault Key. + */ + "id"?: string; + /** + * Oracle DB Azure Vault Key resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment contains Oracle DB Azure Vault Key Resource. + */ + "compartmentId"?: string; + /** + * The Azure ID of the Azure Key, Azure Key URL. + */ + "azureKeyId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId"?: string; + /** + * The current lifecycle state of the Oracle DB Azure Vault Key Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Vault Key was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Vault Key was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Vault Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureKeySummary { + export function getJsonObj(obj: OracleDbAzureKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts new file mode 100644 index 0000000000..8ccfb18ff5 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts @@ -0,0 +1,124 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Key Resource Object. + * + */ +export interface OracleDbAzureKey { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Key Resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Azure Vault Key Resource. + */ + "compartmentId": string; + /** + * Display name of Oracle DB Azure Vault Key. + */ + "displayName": string; + /** + * The Azure ID of the Azure Key, Azure Key URL. + */ + "azureKeyId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * The current lifecycle state of the Oracle DB Azure Vault Key Resource. + */ + "lifecycleState"?: OracleDbAzureKey.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Vault Key was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Vault Key was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Vault Key Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureKey { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureKey): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureKey): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts new file mode 100644 index 0000000000..20e9a0f742 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts @@ -0,0 +1,68 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureVaultAssociationSummary resources. + */ +export interface OracleDbAzureVaultAssociationSummaryCollection { + /** + * This list contains the summary of Oracle DB Azure Vault Association resources. + */ + "items": Array; +} + +export namespace OracleDbAzureVaultAssociationSummaryCollection { + export function getJsonObj(obj: OracleDbAzureVaultAssociationSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureVaultAssociationSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: OracleDbAzureVaultAssociationSummaryCollection + ): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureVaultAssociationSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts new file mode 100644 index 0000000000..8b6902426f --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts @@ -0,0 +1,114 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Vault Association Resource Summary. + * + */ +export interface OracleDbAzureVaultAssociationSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle DB Azure Vault Association. + */ + "id"?: string; + /** + * Oracle DB Azure Vault Association resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment contains Oracle DB Azure Vault Association Resource. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault. + */ + "oracleDbAzureVaultId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Connector. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The Associated Resources are accessible or not. + */ + "isResourceAccessible"?: boolean; + /** + * The current lifecycle state of the Oracle DB Azure Vault Association Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Vault Association was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Vault Association was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Vault Association Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureVaultAssociationSummary { + export function getJsonObj(obj: OracleDbAzureVaultAssociationSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureVaultAssociationSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts new file mode 100644 index 0000000000..fedc18fece --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts @@ -0,0 +1,128 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Vault Association Resource Object. + * + */ +export interface OracleDbAzureVaultAssociation { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Association Resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Azure Vault Association Resource. + */ + "compartmentId": string; + /** + * Display name of Oracle DB Azure Vault Association. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Connector. + */ + "oracleDbAzureConnectorId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault. + */ + "oracleDbAzureVaultId": string; + /** + * The Associated Resources are accessible or not. + */ + "isResourceAccessible"?: boolean; + /** + * The current lifecycle state of the Oracle DB Azure Vault Association Resource. + */ + "lifecycleState"?: OracleDbAzureVaultAssociation.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Vault Association was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Vault Association was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the Oracle DB Azure Vault Association Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureVaultAssociation { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureVaultAssociation): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureVaultAssociation): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts new file mode 100644 index 0000000000..5e7bff92dd --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * List of OracleDbAzureVaultSummary resources. + */ +export interface OracleDbAzureVaultSummaryCollection { + /** + * This list contains the summary of DB Azure Vault resources. + */ + "items": Array; +} + +export namespace OracleDbAzureVaultSummaryCollection { + export function getJsonObj(obj: OracleDbAzureVaultSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureVaultSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureVaultSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAzureVaultSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts new file mode 100644 index 0000000000..9a917803e7 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts @@ -0,0 +1,126 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Vault Resource Summary. + * + */ +export interface OracleDbAzureVaultSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the new mount resource. + */ + "id"?: string; + /** + * Oracle DB Azure Vault resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment contains DB Azure Vault Resource. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector Resource. + */ + "oracleDbConnectorId"?: string; + /** + * Azure Vault Id. + */ + "azureVaultId"?: string; + /** + * Azure Resource Group Name. + */ + "oracleDbAzureResourceGroup"?: string; + /** + * Vault Resource Type. + */ + "type"?: string; + /** + * Vault Resource Location. + */ + "location"?: string; + /** + * Resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * The current lifecycle state of the Azure Arc Agent Resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB Azure Vault was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB Azure Vault was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the DB Azure Vault Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureVaultSummary { + export function getJsonObj(obj: OracleDbAzureVaultSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureVaultSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts new file mode 100644 index 0000000000..99038af0ba --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts @@ -0,0 +1,140 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Oracle DB Azure Vault Resource Object. + * + */ +export interface OracleDbAzureVault { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB Azure Vault Resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB Connector Resource. + */ + "oracleDbConnectorId"?: string; + /** + * Display name of DB Azure Vault. + */ + "displayName": string; + /** + * Display name of Azure Resource Group. + */ + "oracleDbAzureResourceGroup": string; + /** + * Azure Vault Id. + */ + "azureVaultId"?: string; + /** + * The Compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that has this DB Azure Vault Resource. + */ + "compartmentId": string; + /** + * Vault Resource Type. + */ + "type"?: string; + /** + * Vault Resource Location. + */ + "location"?: string; + /** + * Resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * The lifecycle state of the DB Azure Vault Resource. + */ + "lifecycleState"?: OracleDbAzureVault.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the DB Azure Vault was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' + * + */ + "timeCreated"?: Date; + /** + * Time when the DB Azure Vault was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z' + * + */ + "timeUpdated"?: Date; + /** + * Description of the latest modification of the DB Azure Vault Resource. + */ + "lastModification"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAzureVault { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * 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" + } + + export function getJsonObj(obj: OracleDbAzureVault): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAzureVault): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts new file mode 100644 index 0000000000..9e0672eb46 --- /dev/null +++ b/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts @@ -0,0 +1,71 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Details for to patch Oracle DB Azure Connector Resource. + */ +export interface PatchOracleDbAzureConnectorDetails { + /** + * The new version of Azure Agent to be used for patching. + */ + "newVersion"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace PatchOracleDbAzureConnectorDetails { + export function getJsonObj(obj: PatchOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PatchOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/resources.ts b/lib/dbmulticloud/lib/model/resources.ts new file mode 100644 index 0000000000..26acd9cabb --- /dev/null +++ b/lib/dbmulticloud/lib/model/resources.ts @@ -0,0 +1,69 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Discovered Resources. + * + */ +export interface Resources { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Discovered Resource. + */ + "id"?: string; + /** + * Discovered Resource Name. + */ + "name"?: string; + /** + * Discovered Resource Group Name. + */ + "resourceGroup"?: string; + /** + * Discovered Resource Type. + */ + "type"?: string; + /** + * Discovered Resource Location. + */ + "location"?: string; + /** + * Discovered Resource's properties. + */ + "properties"?: { [key: string]: string }; +} + +export namespace Resources { + export function getJsonObj(obj: Resources): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Resources): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/sort-order.ts b/lib/dbmulticloud/lib/model/sort-order.ts new file mode 100644 index 0000000000..d321532e8d --- /dev/null +++ b/lib/dbmulticloud/lib/model/sort-order.ts @@ -0,0 +1,50 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * 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" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts b/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts new file mode 100644 index 0000000000..30548b48dc --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to update Multi Cloud Resource Discovery. + * + */ +export interface UpdateMultiCloudResourceDiscoveryDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Multi Cloud Resource Discovery. + */ + "compartmentId"?: string; + /** + * Display name of Oracle Multi Cloud Resource Discovery. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector. + */ + "oracleDbConnectorId"?: string; + /** + * Resource Type to discover. + */ + "resourceType"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateMultiCloudResourceDiscoveryDetails { + export function getJsonObj(obj: UpdateMultiCloudResourceDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateMultiCloudResourceDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts new file mode 100644 index 0000000000..2deca46315 --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts @@ -0,0 +1,85 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to update Oracle DB Azure Blob Container. + * + */ +export interface UpdateOracleDbAzureBlobContainerDetails { + /** + * The OCID of the compartment that contains Oracle DB Azure Blob Container Resource. + */ + "compartmentId"?: string; + /** + * Display name of Oracle DB Azure Blob Container Resource. + */ + "displayName"?: string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Azure Storage Account Name. + */ + "azureStorageAccountName"?: string; + /** + * Azure Storage Container Name. + */ + "azureStorageContainerName"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAzureBlobContainerDetails { + export function getJsonObj(obj: UpdateOracleDbAzureBlobContainerDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAzureBlobContainerDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts new file mode 100644 index 0000000000..e938b9244c --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to mount Azure Container in OCI Database Resource. + * + */ +export interface UpdateOracleDbAzureBlobMountDetails { + /** + * The OCID of the compartment that contains where to create Oracle DB Azure Blob Mount resource. + */ + "compartmentId"?: string; + /** + * Oracle DB Azure Blob Mount resource name. + */ + "displayName"?: string; + /** + * The OCID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The OCID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAzureBlobMountDetails { + export function getJsonObj(obj: UpdateOracleDbAzureBlobMountDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAzureBlobMountDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts new file mode 100644 index 0000000000..454266f878 --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts @@ -0,0 +1,101 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to update Oracle DB Azure Connector Resource. + * + */ +export interface UpdateOracleDbAzureConnectorDetails { + /** + * The ID of the compartment that contains Oracle DB Azure Connector Resource. + */ + "compartmentId"?: string; + /** + * Oracle DB Azure Connector Resource name. + */ + "displayName"?: string; + /** + * The ID of the Oracle DB Cluster Resource where this Azure Arc Agent Identity to configure. + */ + "dbClusterResourceId"?: string; + /** + * Azure Identity Mechanism. + */ + "azureIdentityMechanism"?: string; + /** + * Azure Tenant ID. + */ + "azureTenantId"?: string; + /** + * Azure Subscription ID. + */ + "azureSubscriptionId"?: string; + /** + * Azure Resource Group Name. + */ + "azureResourceGroup"?: string; + /** + * Azure bearer access token. If bearer access token is provided then Service Principal detail is not required. + */ + "accessToken"?: string; + /** + * Private endpoint IP. + */ + "privateEndpointIpAddress"?: string; + /** + * Private endpoint DNS Alias. + */ + "privateEndpointDnsAlias"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAzureConnectorDetails { + export function getJsonObj(obj: UpdateOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAzureConnectorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts new file mode 100644 index 0000000000..42d13cd6b2 --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts @@ -0,0 +1,77 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to update Oracle DB Azure Vault Association Resource. + * + */ +export interface UpdateOracleDbAzureVaultAssociationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Azure Vault Association Resource. + */ + "compartmentId"?: string; + /** + * Display name of Oracle DB Azure Vault Association Resource. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault. + */ + "oracleDbAzureVaultId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Connector. + */ + "oracleDbAzureConnectorId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAzureVaultAssociationDetails { + export function getJsonObj(obj: UpdateOracleDbAzureVaultAssociationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAzureVaultAssociationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts new file mode 100644 index 0000000000..d2c3108c91 --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts @@ -0,0 +1,93 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to update Oracle DB Azure Vault Resource. + * + */ +export interface UpdateOracleDbAzureVaultDetails { + /** + * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains DB Azure Vault Resource. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB Connector Resource. + */ + "oracleDbConnectorId"?: string; + /** + * Display name of DB Azure Vault. + */ + "displayName"?: string; + /** + * Display name of Azure Resource Group. + */ + "oracleDbAzureResourceGroup"?: string; + /** + * Azure Vault Id. + */ + "azureVaultId"?: string; + /** + * Vault Resource Type. + */ + "type"?: string; + /** + * Vault Resource Location. + */ + "location"?: string; + /** + * Resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAzureVaultDetails { + export function getJsonObj(obj: UpdateOracleDbAzureVaultDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAzureVaultDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-error-collection.ts b/lib/dbmulticloud/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..3db9271d11 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-error-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * List of workRequestError objects. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-error.ts b/lib/dbmulticloud/lib/model/work-request-error.ts new file mode 100644 index 0000000000..43819bf9b1 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-error.ts @@ -0,0 +1,58 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * An error encountered while executing a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occured. Error codes are listed on + * (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) + * + */ + "code": string; + /** + * A human readable description of the issue encountered. + */ + "message": string; + /** + * The time the error occured. An RFC3339 formatted datetime string. + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts b/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..64745d8607 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * List of workRequestLogEntries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-log-entry.ts b/lib/dbmulticloud/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..4220f84338 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-log-entry.ts @@ -0,0 +1,52 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A log message from the execution of a work request. + */ +export interface WorkRequestLogEntry { + /** + * Human-readable log message. + */ + "message": string; + /** + * The time the log message was written. An RFC3339 formatted datetime string. + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts b/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..9261682bf5 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,53 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Possible Metadata keys for workRequest resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + VmClusterId = "VM_CLUSTER_ID", + Hostnames = "HOSTNAMES", + Commands = "COMMANDS", + ResultLocation = "RESULT_LOCATION", + IsDryRun = "IS_DRY_RUN", + + /** + * 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" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-resource.ts b/lib/dbmulticloud/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..4fc8620f62 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-resource.ts @@ -0,0 +1,68 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the work tracked in the work request. + * A resource being created, updated, or deleted will remain in the IN_PROGRESS state until + * work is complete for that resource at which point it will transition to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * The identifier of the resource the work request affects. + */ + "identifier": string; + /** + * The URI path that the user can do a GET on to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-summary-collection.ts b/lib/dbmulticloud/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..77794fa22b --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-summary-collection.ts @@ -0,0 +1,66 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * List of workRequestSummary objects. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request-summary.ts b/lib/dbmulticloud/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..c9ef4050cd --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request-summary.ts @@ -0,0 +1,107 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A summary of the status of a work request. + */ +export interface WorkRequestSummary { + /** + * Type of the work request. + */ + "operationType": model.OperationType; + /** + * Status of current work request. + */ + "status": model.OperationStatus; + /** + * The id of the work request. + */ + "id": string; + /** + * The ID of the compartment that contains the work request. Work requests should be scoped to + * the same compartment as the resource the work request affects. If the work request affects multiple resources, + * and those resources are not in the same compartment, it is up to the service team to pick the primary + * resource whose compartment should be used + * + */ + "compartmentId": string; + /** + * The resources affected by this work request. + */ + "resources": Array; + /** + * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the request was created, as described in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + "timeAccepted": Date; + /** + * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), + * section 14.29. + * + */ + "timeStarted"?: Date; + /** + * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/work-request.ts b/lib/dbmulticloud/lib/model/work-request.ts new file mode 100644 index 0000000000..5f5ab4cdf0 --- /dev/null +++ b/lib/dbmulticloud/lib/model/work-request.ts @@ -0,0 +1,107 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * A description of work request status. + */ +export interface WorkRequest { + /** + * Type of the work request. + */ + "operationType": model.OperationType; + /** + * Status of current work request. + */ + "status": model.OperationStatus; + /** + * The id of the work request. + */ + "id": string; + /** + * The ID of the compartment that contains the work request. Work requests should be scoped to + * the same compartment as the resource the work request affects. If the work request affects multiple resources, + * and those resources are not in the same compartment, it is up to the service team to pick the primary + * resource whose compartment should be used + * + */ + "compartmentId": string; + /** + * The resources affected by this work request. + */ + "resources": Array; + /** + * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the request was created, as described in + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. + * + */ + "timeAccepted": Date; + /** + * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), + * section 14.29. + * + */ + "timeStarted"?: Date; + /** + * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts b/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts new file mode 100644 index 0000000000..9ad731da32 --- /dev/null +++ b/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts @@ -0,0 +1,53 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { MultiCloudResourceDiscoveryClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class MultiCloudResourceDiscoveryWaiter { + public constructor( + private client: MultiCloudResourceDiscoveryClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forMultiCloudResourceDiscovery till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetMultiCloudResourceDiscoveryResponse + */ + public async forMultiCloudResourceDiscovery( + request: serviceRequests.GetMultiCloudResourceDiscoveryRequest, + ...targetStates: models.MultiCloudResourceDiscovery.LifecycleState[] + ): Promise { + return genericWaiter( + this.config, + () => this.client.getMultiCloudResourceDiscovery(request), + response => targetStates.includes(response.multiCloudResourceDiscovery.lifecycleState!) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts b/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts new file mode 100644 index 0000000000..819c5ea09b --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDBAzureBlobContainerClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDBAzureBlobContainerWaiter { + public constructor( + private client: OracleDBAzureBlobContainerClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureBlobContainer till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureBlobContainerResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureBlobContainer( + request: serviceRequests.GetOracleDbAzureBlobContainerRequest, + ...targetStates: models.OracleDbAzureBlobContainer.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureBlobContainer(request), + response => targetStates.includes(response.oracleDbAzureBlobContainer.lifecycleState!), + targetStates.includes(models.OracleDbAzureBlobContainer.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts b/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts new file mode 100644 index 0000000000..cbf64f9fd8 --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDBAzureBlobMountClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDBAzureBlobMountWaiter { + public constructor( + private client: OracleDBAzureBlobMountClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureBlobMount till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureBlobMountResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureBlobMount( + request: serviceRequests.GetOracleDbAzureBlobMountRequest, + ...targetStates: models.OracleDbAzureBlobMount.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureBlobMount(request), + response => targetStates.includes(response.oracleDbAzureBlobMount.lifecycleState!), + targetStates.includes(models.OracleDbAzureBlobMount.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts b/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts new file mode 100644 index 0000000000..8826b0cf09 --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDBAzureConnectorClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDBAzureConnectorWaiter { + public constructor( + private client: OracleDBAzureConnectorClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureConnector till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureConnectorResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureConnector( + request: serviceRequests.GetOracleDbAzureConnectorRequest, + ...targetStates: models.OracleDbAzureConnector.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureConnector(request), + response => targetStates.includes(response.oracleDbAzureConnector.lifecycleState!), + targetStates.includes(models.OracleDbAzureConnector.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts b/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts new file mode 100644 index 0000000000..89c21a79a5 --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDbAzureKeyClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDbAzureKeyWaiter { + public constructor( + private client: OracleDbAzureKeyClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureKey till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureKeyResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureKey( + request: serviceRequests.GetOracleDbAzureKeyRequest, + ...targetStates: models.OracleDbAzureKey.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureKey(request), + response => targetStates.includes(response.oracleDbAzureKey.lifecycleState!), + targetStates.includes(models.OracleDbAzureKey.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts b/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts new file mode 100644 index 0000000000..ae85f94dfa --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDbAzureVaultClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDbAzureVaultWaiter { + public constructor( + private client: OracleDbAzureVaultClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureVault till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureVaultResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureVault( + request: serviceRequests.GetOracleDbAzureVaultRequest, + ...targetStates: models.OracleDbAzureVault.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureVault(request), + response => targetStates.includes(response.oracleDbAzureVault.lifecycleState!), + targetStates.includes(models.OracleDbAzureVault.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts b/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts new file mode 100644 index 0000000000..fc4b789b7f --- /dev/null +++ b/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts @@ -0,0 +1,54 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { OracleDbAzureVaultAssociationClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class OracleDbAzureVaultAssociationWaiter { + public constructor( + private client: OracleDbAzureVaultAssociationClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAzureVaultAssociation till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAzureVaultAssociationResponse | null (null in case of 404 response) + */ + public async forOracleDbAzureVaultAssociation( + request: serviceRequests.GetOracleDbAzureVaultAssociationRequest, + ...targetStates: models.OracleDbAzureVaultAssociation.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAzureVaultAssociation(request), + response => targetStates.includes(response.oracleDbAzureVaultAssociation.lifecycleState!), + targetStates.includes(models.OracleDbAzureVaultAssociation.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/request/cancel-work-request-request.ts b/lib/dbmulticloud/lib/request/cancel-work-request-request.ts new file mode 100644 index 0000000000..fc76a0b5da --- /dev/null +++ b/lib/dbmulticloud/lib/request/cancel-work-request-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. + */ +export interface CancelWorkRequestRequest extends common.BaseRequest { + /** + * The ID of the asynchronous request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/cascading-delete-oracle-db-azure-vault-association-request.ts b/lib/dbmulticloud/lib/request/cascading-delete-oracle-db-azure-vault-association-request.ts new file mode 100644 index 0000000000..508e7cc756 --- /dev/null +++ b/lib/dbmulticloud/lib/request/cascading-delete-oracle-db-azure-vault-association-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CascadingDeleteOracleDbAzureVaultAssociation.ts.html |here} to see how to use CascadingDeleteOracleDbAzureVaultAssociationRequest. + */ +export interface CascadingDeleteOracleDbAzureVaultAssociationRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Association Resource. + */ + "oracleDbAzureVaultAssociationId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-multi-cloud-resource-discovery-compartment-request.ts b/lib/dbmulticloud/lib/request/change-multi-cloud-resource-discovery-compartment-request.ts new file mode 100644 index 0000000000..e9688d9bdf --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-multi-cloud-resource-discovery-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeMultiCloudResourceDiscoveryCompartment.ts.html |here} to see how to use ChangeMultiCloudResourceDiscoveryCompartmentRequest. + */ +export interface ChangeMultiCloudResourceDiscoveryCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "multiCloudResourceDiscoveryId": string; + /** + * Moves the Multi Cloud Discovered resource to a different compartment. + */ + "changeMultiCloudResourceDiscoveryCompartmentDetails": model.ChangeMultiCloudResourceDiscoveryCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-container-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-container-compartment-request.ts new file mode 100644 index 0000000000..2f315c4d6a --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-container-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureBlobContainerCompartment.ts.html |here} to see how to use ChangeOracleDbAzureBlobContainerCompartmentRequest. + */ +export interface ChangeOracleDbAzureBlobContainerCompartmentRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * Moves the DB Azure Blob Container resource into a different compartment. + */ + "changeOracleDbAzureBlobContainerCompartmentDetails": model.ChangeOracleDbAzureBlobContainerCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-mount-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-mount-compartment-request.ts new file mode 100644 index 0000000000..f7601da91d --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-azure-blob-mount-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureBlobMountCompartment.ts.html |here} to see how to use ChangeOracleDbAzureBlobMountCompartmentRequest. + */ +export interface ChangeOracleDbAzureBlobMountCompartmentRequest extends common.BaseRequest { + /** + * The ID of the Azure Container Resource. + */ + "oracleDbAzureBlobMountId": string; + /** + * Moves the Oracle DbAzure Blob Mount resource into a different compartment. + */ + "changeOracleDbAzureBlobMountCompartmentDetails": model.ChangeOracleDbAzureBlobMountCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-azure-connector-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-azure-connector-compartment-request.ts new file mode 100644 index 0000000000..b89bf69af3 --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-azure-connector-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureConnectorCompartment.ts.html |here} to see how to use ChangeOracleDbAzureConnectorCompartmentRequest. + */ +export interface ChangeOracleDbAzureConnectorCompartmentRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * Moves the Oracle DB Azure Connector Resource into a different compartment. + */ + "changeOracleDbAzureConnectorCompartmentDetails": model.ChangeOracleDbAzureConnectorCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-association-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-association-compartment-request.ts new file mode 100644 index 0000000000..cd0e2931a7 --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-association-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureVaultAssociationCompartment.ts.html |here} to see how to use ChangeOracleDbAzureVaultAssociationCompartmentRequest. + */ +export interface ChangeOracleDbAzureVaultAssociationCompartmentRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Association Resource. + */ + "oracleDbAzureVaultAssociationId": string; + /** + * Moves the Oracle DB Azure Vault Association resource into a different compartment. + */ + "changeOracleDbAzureVaultAssociationCompartmentDetails": model.ChangeOracleDbAzureVaultAssociationCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-compartment-request.ts new file mode 100644 index 0000000000..b7ed2f7a1c --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-azure-vault-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAzureVaultCompartment.ts.html |here} to see how to use ChangeOracleDbAzureVaultCompartmentRequest. + */ +export interface ChangeOracleDbAzureVaultCompartmentRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * Moves the DB Azure Vault resource into a different compartment. + */ + "changeOracleDbAzureVaultCompartmentDetails": model.ChangeOracleDbAzureVaultCompartmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-multi-cloud-resource-discovery-request.ts b/lib/dbmulticloud/lib/request/create-multi-cloud-resource-discovery-request.ts new file mode 100644 index 0000000000..631722d54e --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-multi-cloud-resource-discovery-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateMultiCloudResourceDiscovery.ts.html |here} to see how to use CreateMultiCloudResourceDiscoveryRequest. + */ +export interface CreateMultiCloudResourceDiscoveryRequest extends common.BaseRequest { + /** + * Details for to Discover Azure Vaults and Keys. + */ + "createMultiCloudResourceDiscoveryDetails": model.CreateMultiCloudResourceDiscoveryDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-container-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-container-request.ts new file mode 100644 index 0000000000..e9f960e9f0 --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-container-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureBlobContainer.ts.html |here} to see how to use CreateOracleDbAzureBlobContainerRequest. + */ +export interface CreateOracleDbAzureBlobContainerRequest extends common.BaseRequest { + /** + * Details for to mount Azure Container in OCI Database Resource. + */ + "createOracleDbAzureBlobContainerDetails": model.CreateOracleDbAzureBlobContainerDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-mount-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-mount-request.ts new file mode 100644 index 0000000000..145976add2 --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-azure-blob-mount-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureBlobMount.ts.html |here} to see how to use CreateOracleDbAzureBlobMountRequest. + */ +export interface CreateOracleDbAzureBlobMountRequest extends common.BaseRequest { + /** + * Details for to create OracleDbAzureBlobMount resource. + */ + "createOracleDbAzureBlobMountDetails": model.CreateOracleDbAzureBlobMountDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-azure-connector-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-azure-connector-request.ts new file mode 100644 index 0000000000..414f85155b --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-azure-connector-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureConnector.ts.html |here} to see how to use CreateOracleDbAzureConnectorRequest. + */ +export interface CreateOracleDbAzureConnectorRequest extends common.BaseRequest { + /** + * Details for to Create Oracle DB Azure Connector Resource + * and configured Azure Identity in OCI Database Resource. + * + */ + "createOracleDbAzureConnectorDetails": model.CreateOracleDbAzureConnectorDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-association-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-association-request.ts new file mode 100644 index 0000000000..c0aa878c55 --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-association-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureVaultAssociation.ts.html |here} to see how to use CreateOracleDbAzureVaultAssociationRequest. + */ +export interface CreateOracleDbAzureVaultAssociationRequest extends common.BaseRequest { + /** + * Details for to Create Oracle DB Azure Vault Association Details. + */ + "createOracleDbAzureVaultAssociationDetails": model.CreateOracleDbAzureVaultAssociationDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-request.ts new file mode 100644 index 0000000000..3538688f85 --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-azure-vault-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAzureVault.ts.html |here} to see how to use CreateOracleDbAzureVaultRequest. + */ +export interface CreateOracleDbAzureVaultRequest extends common.BaseRequest { + /** + * Details for to Create DB Azure Vault Details. + */ + "createOracleDbAzureVaultDetails": model.CreateOracleDbAzureVaultDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-multi-cloud-resource-discovery-request.ts b/lib/dbmulticloud/lib/request/delete-multi-cloud-resource-discovery-request.ts new file mode 100644 index 0000000000..02fe432dde --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-multi-cloud-resource-discovery-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteMultiCloudResourceDiscovery.ts.html |here} to see how to use DeleteMultiCloudResourceDiscoveryRequest. + */ +export interface DeleteMultiCloudResourceDiscoveryRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "multiCloudResourceDiscoveryId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-container-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-container-request.ts new file mode 100644 index 0000000000..782928072e --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-container-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureBlobContainer.ts.html |here} to see how to use DeleteOracleDbAzureBlobContainerRequest. + */ +export interface DeleteOracleDbAzureBlobContainerRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-mount-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-mount-request.ts new file mode 100644 index 0000000000..098dc67d7e --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-blob-mount-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureBlobMount.ts.html |here} to see how to use DeleteOracleDbAzureBlobMountRequest. + */ +export interface DeleteOracleDbAzureBlobMountRequest extends common.BaseRequest { + /** + * The ID of the Azure Container Resource. + */ + "oracleDbAzureBlobMountId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-azure-connector-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-connector-request.ts new file mode 100644 index 0000000000..81d9624e4d --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-connector-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureConnector.ts.html |here} to see how to use DeleteOracleDbAzureConnectorRequest. + */ +export interface DeleteOracleDbAzureConnectorRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-association-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-association-request.ts new file mode 100644 index 0000000000..c3da592703 --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-association-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureVaultAssociation.ts.html |here} to see how to use DeleteOracleDbAzureVaultAssociationRequest. + */ +export interface DeleteOracleDbAzureVaultAssociationRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Association Resource. + */ + "oracleDbAzureVaultAssociationId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-request.ts new file mode 100644 index 0000000000..d4b75ba72e --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-azure-vault-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAzureVault.ts.html |here} to see how to use DeleteOracleDbAzureVaultRequest. + */ +export interface DeleteOracleDbAzureVaultRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-multi-cloud-resource-discovery-request.ts b/lib/dbmulticloud/lib/request/get-multi-cloud-resource-discovery-request.ts new file mode 100644 index 0000000000..6de130add4 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-multi-cloud-resource-discovery-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetMultiCloudResourceDiscovery.ts.html |here} to see how to use GetMultiCloudResourceDiscoveryRequest. + */ +export interface GetMultiCloudResourceDiscoveryRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "multiCloudResourceDiscoveryId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-container-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-container-request.ts new file mode 100644 index 0000000000..3ed6d169da --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-container-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureBlobContainer.ts.html |here} to see how to use GetOracleDbAzureBlobContainerRequest. + */ +export interface GetOracleDbAzureBlobContainerRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-mount-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-mount-request.ts new file mode 100644 index 0000000000..d8378d2339 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-blob-mount-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureBlobMount.ts.html |here} to see how to use GetOracleDbAzureBlobMountRequest. + */ +export interface GetOracleDbAzureBlobMountRequest extends common.BaseRequest { + /** + * The ID of the Azure Container Resource. + */ + "oracleDbAzureBlobMountId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-connector-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-connector-request.ts new file mode 100644 index 0000000000..4207579b8a --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-connector-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureConnector.ts.html |here} to see how to use GetOracleDbAzureConnectorRequest. + */ +export interface GetOracleDbAzureConnectorRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-key-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-key-request.ts new file mode 100644 index 0000000000..32c9a66b9b --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-key-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureKey.ts.html |here} to see how to use GetOracleDbAzureKeyRequest. + */ +export interface GetOracleDbAzureKeyRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Azure Vault Key Resource. + */ + "oracleDbAzureKeyId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-association-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-association-request.ts new file mode 100644 index 0000000000..ba269b85f0 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-association-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureVaultAssociation.ts.html |here} to see how to use GetOracleDbAzureVaultAssociationRequest. + */ +export interface GetOracleDbAzureVaultAssociationRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Association Resource. + */ + "oracleDbAzureVaultAssociationId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-request.ts new file mode 100644 index 0000000000..d9a7643b0a --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-azure-vault-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAzureVault.ts.html |here} to see how to use GetOracleDbAzureVaultRequest. + */ +export interface GetOracleDbAzureVaultRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-work-request-request.ts b/lib/dbmulticloud/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..2bd353f8e3 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-work-request-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The ID of the asynchronous request. + */ + "workRequestId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/index.ts b/lib/dbmulticloud/lib/request/index.ts new file mode 100644 index 0000000000..dde42414ee --- /dev/null +++ b/lib/dbmulticloud/lib/request/index.ts @@ -0,0 +1,115 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 ChangeMultiCloudResourceDiscoveryCompartmentRequest from "./change-multi-cloud-resource-discovery-compartment-request"; +export import ChangeMultiCloudResourceDiscoveryCompartmentRequest = ChangeMultiCloudResourceDiscoveryCompartmentRequest.ChangeMultiCloudResourceDiscoveryCompartmentRequest; +import * as CreateMultiCloudResourceDiscoveryRequest from "./create-multi-cloud-resource-discovery-request"; +export import CreateMultiCloudResourceDiscoveryRequest = CreateMultiCloudResourceDiscoveryRequest.CreateMultiCloudResourceDiscoveryRequest; +import * as DeleteMultiCloudResourceDiscoveryRequest from "./delete-multi-cloud-resource-discovery-request"; +export import DeleteMultiCloudResourceDiscoveryRequest = DeleteMultiCloudResourceDiscoveryRequest.DeleteMultiCloudResourceDiscoveryRequest; +import * as GetMultiCloudResourceDiscoveryRequest from "./get-multi-cloud-resource-discovery-request"; +export import GetMultiCloudResourceDiscoveryRequest = GetMultiCloudResourceDiscoveryRequest.GetMultiCloudResourceDiscoveryRequest; +import * as ListMultiCloudResourceDiscoveriesRequest from "./list-multi-cloud-resource-discoveries-request"; +export import ListMultiCloudResourceDiscoveriesRequest = ListMultiCloudResourceDiscoveriesRequest.ListMultiCloudResourceDiscoveriesRequest; +import * as UpdateMultiCloudResourceDiscoveryRequest from "./update-multi-cloud-resource-discovery-request"; +export import UpdateMultiCloudResourceDiscoveryRequest = UpdateMultiCloudResourceDiscoveryRequest.UpdateMultiCloudResourceDiscoveryRequest; +import * as ChangeOracleDbAzureBlobContainerCompartmentRequest from "./change-oracle-db-azure-blob-container-compartment-request"; +export import ChangeOracleDbAzureBlobContainerCompartmentRequest = ChangeOracleDbAzureBlobContainerCompartmentRequest.ChangeOracleDbAzureBlobContainerCompartmentRequest; +import * as CreateOracleDbAzureBlobContainerRequest from "./create-oracle-db-azure-blob-container-request"; +export import CreateOracleDbAzureBlobContainerRequest = CreateOracleDbAzureBlobContainerRequest.CreateOracleDbAzureBlobContainerRequest; +import * as DeleteOracleDbAzureBlobContainerRequest from "./delete-oracle-db-azure-blob-container-request"; +export import DeleteOracleDbAzureBlobContainerRequest = DeleteOracleDbAzureBlobContainerRequest.DeleteOracleDbAzureBlobContainerRequest; +import * as GetOracleDbAzureBlobContainerRequest from "./get-oracle-db-azure-blob-container-request"; +export import GetOracleDbAzureBlobContainerRequest = GetOracleDbAzureBlobContainerRequest.GetOracleDbAzureBlobContainerRequest; +import * as ListOracleDbAzureBlobContainersRequest from "./list-oracle-db-azure-blob-containers-request"; +export import ListOracleDbAzureBlobContainersRequest = ListOracleDbAzureBlobContainersRequest.ListOracleDbAzureBlobContainersRequest; +import * as UpdateOracleDbAzureBlobContainerRequest from "./update-oracle-db-azure-blob-container-request"; +export import UpdateOracleDbAzureBlobContainerRequest = UpdateOracleDbAzureBlobContainerRequest.UpdateOracleDbAzureBlobContainerRequest; +import * as ChangeOracleDbAzureBlobMountCompartmentRequest from "./change-oracle-db-azure-blob-mount-compartment-request"; +export import ChangeOracleDbAzureBlobMountCompartmentRequest = ChangeOracleDbAzureBlobMountCompartmentRequest.ChangeOracleDbAzureBlobMountCompartmentRequest; +import * as CreateOracleDbAzureBlobMountRequest from "./create-oracle-db-azure-blob-mount-request"; +export import CreateOracleDbAzureBlobMountRequest = CreateOracleDbAzureBlobMountRequest.CreateOracleDbAzureBlobMountRequest; +import * as DeleteOracleDbAzureBlobMountRequest from "./delete-oracle-db-azure-blob-mount-request"; +export import DeleteOracleDbAzureBlobMountRequest = DeleteOracleDbAzureBlobMountRequest.DeleteOracleDbAzureBlobMountRequest; +import * as GetOracleDbAzureBlobMountRequest from "./get-oracle-db-azure-blob-mount-request"; +export import GetOracleDbAzureBlobMountRequest = GetOracleDbAzureBlobMountRequest.GetOracleDbAzureBlobMountRequest; +import * as ListOracleDbAzureBlobMountsRequest from "./list-oracle-db-azure-blob-mounts-request"; +export import ListOracleDbAzureBlobMountsRequest = ListOracleDbAzureBlobMountsRequest.ListOracleDbAzureBlobMountsRequest; +import * as UpdateOracleDbAzureBlobMountRequest from "./update-oracle-db-azure-blob-mount-request"; +export import UpdateOracleDbAzureBlobMountRequest = UpdateOracleDbAzureBlobMountRequest.UpdateOracleDbAzureBlobMountRequest; +import * as ChangeOracleDbAzureConnectorCompartmentRequest from "./change-oracle-db-azure-connector-compartment-request"; +export import ChangeOracleDbAzureConnectorCompartmentRequest = ChangeOracleDbAzureConnectorCompartmentRequest.ChangeOracleDbAzureConnectorCompartmentRequest; +import * as CreateOracleDbAzureConnectorRequest from "./create-oracle-db-azure-connector-request"; +export import CreateOracleDbAzureConnectorRequest = CreateOracleDbAzureConnectorRequest.CreateOracleDbAzureConnectorRequest; +import * as DeleteOracleDbAzureConnectorRequest from "./delete-oracle-db-azure-connector-request"; +export import DeleteOracleDbAzureConnectorRequest = DeleteOracleDbAzureConnectorRequest.DeleteOracleDbAzureConnectorRequest; +import * as GetOracleDbAzureConnectorRequest from "./get-oracle-db-azure-connector-request"; +export import GetOracleDbAzureConnectorRequest = GetOracleDbAzureConnectorRequest.GetOracleDbAzureConnectorRequest; +import * as ListOracleDbAzureConnectorsRequest from "./list-oracle-db-azure-connectors-request"; +export import ListOracleDbAzureConnectorsRequest = ListOracleDbAzureConnectorsRequest.ListOracleDbAzureConnectorsRequest; +import * as PatchOracleDbAzureConnectorRequest from "./patch-oracle-db-azure-connector-request"; +export import PatchOracleDbAzureConnectorRequest = PatchOracleDbAzureConnectorRequest.PatchOracleDbAzureConnectorRequest; +import * as UpdateOracleDbAzureConnectorRequest from "./update-oracle-db-azure-connector-request"; +export import UpdateOracleDbAzureConnectorRequest = UpdateOracleDbAzureConnectorRequest.UpdateOracleDbAzureConnectorRequest; +import * as GetOracleDbAzureKeyRequest from "./get-oracle-db-azure-key-request"; +export import GetOracleDbAzureKeyRequest = GetOracleDbAzureKeyRequest.GetOracleDbAzureKeyRequest; +import * as ListOracleDbAzureKeysRequest from "./list-oracle-db-azure-keys-request"; +export import ListOracleDbAzureKeysRequest = ListOracleDbAzureKeysRequest.ListOracleDbAzureKeysRequest; +import * as ChangeOracleDbAzureVaultCompartmentRequest from "./change-oracle-db-azure-vault-compartment-request"; +export import ChangeOracleDbAzureVaultCompartmentRequest = ChangeOracleDbAzureVaultCompartmentRequest.ChangeOracleDbAzureVaultCompartmentRequest; +import * as CreateOracleDbAzureVaultRequest from "./create-oracle-db-azure-vault-request"; +export import CreateOracleDbAzureVaultRequest = CreateOracleDbAzureVaultRequest.CreateOracleDbAzureVaultRequest; +import * as DeleteOracleDbAzureVaultRequest from "./delete-oracle-db-azure-vault-request"; +export import DeleteOracleDbAzureVaultRequest = DeleteOracleDbAzureVaultRequest.DeleteOracleDbAzureVaultRequest; +import * as GetOracleDbAzureVaultRequest from "./get-oracle-db-azure-vault-request"; +export import GetOracleDbAzureVaultRequest = GetOracleDbAzureVaultRequest.GetOracleDbAzureVaultRequest; +import * as ListOracleDbAzureVaultsRequest from "./list-oracle-db-azure-vaults-request"; +export import ListOracleDbAzureVaultsRequest = ListOracleDbAzureVaultsRequest.ListOracleDbAzureVaultsRequest; +import * as RefreshOracleDbAzureVaultRequest from "./refresh-oracle-db-azure-vault-request"; +export import RefreshOracleDbAzureVaultRequest = RefreshOracleDbAzureVaultRequest.RefreshOracleDbAzureVaultRequest; +import * as UpdateOracleDbAzureVaultRequest from "./update-oracle-db-azure-vault-request"; +export import UpdateOracleDbAzureVaultRequest = UpdateOracleDbAzureVaultRequest.UpdateOracleDbAzureVaultRequest; +import * as CascadingDeleteOracleDbAzureVaultAssociationRequest from "./cascading-delete-oracle-db-azure-vault-association-request"; +export import CascadingDeleteOracleDbAzureVaultAssociationRequest = CascadingDeleteOracleDbAzureVaultAssociationRequest.CascadingDeleteOracleDbAzureVaultAssociationRequest; +import * as ChangeOracleDbAzureVaultAssociationCompartmentRequest from "./change-oracle-db-azure-vault-association-compartment-request"; +export import ChangeOracleDbAzureVaultAssociationCompartmentRequest = ChangeOracleDbAzureVaultAssociationCompartmentRequest.ChangeOracleDbAzureVaultAssociationCompartmentRequest; +import * as CreateOracleDbAzureVaultAssociationRequest from "./create-oracle-db-azure-vault-association-request"; +export import CreateOracleDbAzureVaultAssociationRequest = CreateOracleDbAzureVaultAssociationRequest.CreateOracleDbAzureVaultAssociationRequest; +import * as DeleteOracleDbAzureVaultAssociationRequest from "./delete-oracle-db-azure-vault-association-request"; +export import DeleteOracleDbAzureVaultAssociationRequest = DeleteOracleDbAzureVaultAssociationRequest.DeleteOracleDbAzureVaultAssociationRequest; +import * as GetOracleDbAzureVaultAssociationRequest from "./get-oracle-db-azure-vault-association-request"; +export import GetOracleDbAzureVaultAssociationRequest = GetOracleDbAzureVaultAssociationRequest.GetOracleDbAzureVaultAssociationRequest; +import * as ListOracleDbAzureVaultAssociationsRequest from "./list-oracle-db-azure-vault-associations-request"; +export import ListOracleDbAzureVaultAssociationsRequest = ListOracleDbAzureVaultAssociationsRequest.ListOracleDbAzureVaultAssociationsRequest; +import * as UpdateOracleDbAzureVaultAssociationRequest from "./update-oracle-db-azure-vault-association-request"; +export import UpdateOracleDbAzureVaultAssociationRequest = UpdateOracleDbAzureVaultAssociationRequest.UpdateOracleDbAzureVaultAssociationRequest; +import * as CancelWorkRequestRequest from "./cancel-work-request-request"; +export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; diff --git a/lib/dbmulticloud/lib/request/list-multi-cloud-resource-discoveries-request.ts b/lib/dbmulticloud/lib/request/list-multi-cloud-resource-discoveries-request.ts new file mode 100644 index 0000000000..87e0dd8718 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-multi-cloud-resource-discoveries-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListMultiCloudResourceDiscoveries.ts.html |here} to see how to use ListMultiCloudResourceDiscoveriesRequest. + */ +export interface ListMultiCloudResourceDiscoveriesRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Display Name of the Multi Cloud Discovery Resource. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "multiCloudResourceDiscoveryId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The type of Multi Cloud Resource. + */ + "resourceType"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListMultiCloudResourceDiscoveriesRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListMultiCloudResourceDiscoveriesRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-containers-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-containers-request.ts new file mode 100644 index 0000000000..2341ddeb91 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-containers-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureBlobContainers.ts.html |here} to see how to use ListOracleDbAzureBlobContainersRequest. + */ +export interface ListOracleDbAzureBlobContainersRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Azure Containers. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureBlobContainerId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Azure Blob Containers. + */ + "azureStorageAccountName"?: string; + /** + * A filter to return Azure Blob containers. + */ + "azureStorageContainerName"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureBlobContainersRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureBlobContainersRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-mounts-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-mounts-request.ts new file mode 100644 index 0000000000..408ca59968 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-blob-mounts-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureBlobMounts.ts.html |here} to see how to use ListOracleDbAzureBlobMountsRequest. + */ +export interface ListOracleDbAzureBlobMountsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "displayName"?: string; + /** + * ID of Oracle DB Azure Blob Mount Resource. + */ + "oracleDbAzureBlobMountId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureBlobContainerId"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureBlobMountsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureBlobMountsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-connectors-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-connectors-request.ts new file mode 100644 index 0000000000..5c5a224324 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-connectors-request.ts @@ -0,0 +1,71 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureConnectors.ts.html |here} to see how to use ListOracleDbAzureConnectorsRequest. + */ +export interface ListOracleDbAzureConnectorsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Oracle DB Azure Connector Resource that match the given display name. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureConnectorId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Resource. + */ + "dbClusterResourceId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureConnectorsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureConnectorsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-keys-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-keys-request.ts new file mode 100644 index 0000000000..68bf160770 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-keys-request.ts @@ -0,0 +1,71 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureKeys.ts.html |here} to see how to use ListOracleDbAzureKeysRequest. + */ +export interface ListOracleDbAzureKeysRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Azure Vault Keys. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB Azure Vault Resources. + */ + "oracleDbAzureVaultId"?: string; + /** + * A filter to return Oracle DB Azure Vault Key Resources. + */ + "oracleDbAzureKeyId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureKeysRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureKeysRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-vault-associations-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-vault-associations-request.ts new file mode 100644 index 0000000000..0f5bbc1840 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-vault-associations-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureVaultAssociations.ts.html |here} to see how to use ListOracleDbAzureVaultAssociationsRequest. + */ +export interface ListOracleDbAzureVaultAssociationsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Oracle DB Azure Vault Resources. + */ + "oracleDbAzureVaultId"?: string; + /** + * A filter to return Azure Vault Association. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB Azure Vault Association Resources. + */ + "oracleDbAzureVaultAssociationId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureVaultAssociationsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureVaultAssociationsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-azure-vaults-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-azure-vaults-request.ts new file mode 100644 index 0000000000..63dd96ebf2 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-azure-vaults-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAzureVaults.ts.html |here} to see how to use ListOracleDbAzureVaultsRequest. + */ +export interface ListOracleDbAzureVaultsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Azure Vaults. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB Azure Vault Resources. + */ + "oracleDbAzureVaultId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Azure Vaults. + */ + "oracleDbAzureResourceGroup"?: string; + /** + * A filter to return Oracle DB Azure Blob Mount Resources. + */ + "oracleDbAzureConnectorId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAzureVaultsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAzureVaultsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-work-request-errors-request.ts b/lib/dbmulticloud/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..29d9508518 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The ID of the asynchronous request. + */ + "workRequestId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/dbmulticloud/lib/request/list-work-request-logs-request.ts b/lib/dbmulticloud/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..3cc4a94bcb --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The ID of the asynchronous request. + */ + "workRequestId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/dbmulticloud/lib/request/list-work-requests-request.ts b/lib/dbmulticloud/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..b3791fe052 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-work-requests-request.ts @@ -0,0 +1,64 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The ID of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only work requests with the given OperationStatus. + */ + "status"?: model.OperationStatus; + /** + * The ID of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/dbmulticloud/lib/request/patch-oracle-db-azure-connector-request.ts b/lib/dbmulticloud/lib/request/patch-oracle-db-azure-connector-request.ts new file mode 100644 index 0000000000..45ed11a14b --- /dev/null +++ b/lib/dbmulticloud/lib/request/patch-oracle-db-azure-connector-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/PatchOracleDbAzureConnector.ts.html |here} to see how to use PatchOracleDbAzureConnectorRequest. + */ +export interface PatchOracleDbAzureConnectorRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * Patch Azure Arc Agent on VM Cluster with new version. + */ + "patchOracleDbAzureConnectorDetails": model.PatchOracleDbAzureConnectorDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/refresh-oracle-db-azure-vault-request.ts b/lib/dbmulticloud/lib/request/refresh-oracle-db-azure-vault-request.ts new file mode 100644 index 0000000000..1d1afb6f56 --- /dev/null +++ b/lib/dbmulticloud/lib/request/refresh-oracle-db-azure-vault-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/RefreshOracleDbAzureVault.ts.html |here} to see how to use RefreshOracleDbAzureVaultRequest. + */ +export interface RefreshOracleDbAzureVaultRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-multi-cloud-resource-discovery-request.ts b/lib/dbmulticloud/lib/request/update-multi-cloud-resource-discovery-request.ts new file mode 100644 index 0000000000..5c1cf5f734 --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-multi-cloud-resource-discovery-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateMultiCloudResourceDiscovery.ts.html |here} to see how to use UpdateMultiCloudResourceDiscoveryRequest. + */ +export interface UpdateMultiCloudResourceDiscoveryRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multi Cloud Discovery Resource. + */ + "multiCloudResourceDiscoveryId": string; + /** + * Details for to update MultiCloudResourceDiscovery. + */ + "updateMultiCloudResourceDiscoveryDetails": model.UpdateMultiCloudResourceDiscoveryDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-container-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-container-request.ts new file mode 100644 index 0000000000..3a61bb513d --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-container-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureBlobContainer.ts.html |here} to see how to use UpdateOracleDbAzureBlobContainerRequest. + */ +export interface UpdateOracleDbAzureBlobContainerRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Blob Container Resource. + */ + "oracleDbAzureBlobContainerId": string; + /** + * Details for to update OracleDbAzureBlobContainer. + */ + "updateOracleDbAzureBlobContainerDetails": model.UpdateOracleDbAzureBlobContainerDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-mount-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-mount-request.ts new file mode 100644 index 0000000000..275ae43131 --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-azure-blob-mount-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureBlobMount.ts.html |here} to see how to use UpdateOracleDbAzureBlobMountRequest. + */ +export interface UpdateOracleDbAzureBlobMountRequest extends common.BaseRequest { + /** + * The ID of the Azure Container Resource. + */ + "oracleDbAzureBlobMountId": string; + /** + * Details for to update OracleDbAzureBlobMount. + */ + "updateOracleDbAzureBlobMountDetails": model.UpdateOracleDbAzureBlobMountDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-azure-connector-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-azure-connector-request.ts new file mode 100644 index 0000000000..14ea57ed8b --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-azure-connector-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureConnector.ts.html |here} to see how to use UpdateOracleDbAzureConnectorRequest. + */ +export interface UpdateOracleDbAzureConnectorRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Connector Resource. + */ + "oracleDbAzureConnectorId": string; + /** + * Details for to update Oracle DB Azure Connector Resource. + */ + "updateOracleDbAzureConnectorDetails": model.UpdateOracleDbAzureConnectorDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-association-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-association-request.ts new file mode 100644 index 0000000000..4c659c7644 --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-association-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureVaultAssociation.ts.html |here} to see how to use UpdateOracleDbAzureVaultAssociationRequest. + */ +export interface UpdateOracleDbAzureVaultAssociationRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Association Resource. + */ + "oracleDbAzureVaultAssociationId": string; + /** + * Details for to update OracleDbAzureVaultAssociation. + */ + "updateOracleDbAzureVaultAssociationDetails": model.UpdateOracleDbAzureVaultAssociationDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-request.ts new file mode 100644 index 0000000000..2f12e736f6 --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-azure-vault-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAzureVault.ts.html |here} to see how to use UpdateOracleDbAzureVaultRequest. + */ +export interface UpdateOracleDbAzureVaultRequest extends common.BaseRequest { + /** + * The ID of the Oracle DB Azure Vault Resource. + */ + "oracleDbAzureVaultId": string; + /** + * Details for to update OracleDbAzureVault. + */ + "updateOracleDbAzureVaultDetails": model.UpdateOracleDbAzureVaultDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/response/cancel-work-request-response.ts b/lib/dbmulticloud/lib/response/cancel-work-request-response.ts new file mode 100644 index 0000000000..077de7382a --- /dev/null +++ b/lib/dbmulticloud/lib/response/cancel-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CancelWorkRequestResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/cascading-delete-oracle-db-azure-vault-association-response.ts b/lib/dbmulticloud/lib/response/cascading-delete-oracle-db-azure-vault-association-response.ts new file mode 100644 index 0000000000..f29b821eb2 --- /dev/null +++ b/lib/dbmulticloud/lib/response/cascading-delete-oracle-db-azure-vault-association-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CascadingDeleteOracleDbAzureVaultAssociationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-multi-cloud-resource-discovery-compartment-response.ts b/lib/dbmulticloud/lib/response/change-multi-cloud-resource-discovery-compartment-response.ts new file mode 100644 index 0000000000..d03fefdd56 --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-multi-cloud-resource-discovery-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeMultiCloudResourceDiscoveryCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-container-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-container-compartment-response.ts new file mode 100644 index 0000000000..fdac34f4cd --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-container-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeOracleDbAzureBlobContainerCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-mount-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-mount-compartment-response.ts new file mode 100644 index 0000000000..3e71b3b2c3 --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-azure-blob-mount-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeOracleDbAzureBlobMountCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-azure-connector-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-azure-connector-compartment-response.ts new file mode 100644 index 0000000000..20bcaed897 --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-azure-connector-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeOracleDbAzureConnectorCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-association-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-association-compartment-response.ts new file mode 100644 index 0000000000..7e7af747ed --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-association-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeOracleDbAzureVaultAssociationCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-compartment-response.ts new file mode 100644 index 0000000000..36e1616265 --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-azure-vault-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ChangeOracleDbAzureVaultCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/create-multi-cloud-resource-discovery-response.ts b/lib/dbmulticloud/lib/response/create-multi-cloud-resource-discovery-response.ts new file mode 100644 index 0000000000..d25c0d89b1 --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-multi-cloud-resource-discovery-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateMultiCloudResourceDiscoveryResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.MultiCloudResourceDiscovery instance. + */ + "multiCloudResourceDiscovery": model.MultiCloudResourceDiscovery; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-container-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-container-response.ts new file mode 100644 index 0000000000..029ddfbbdf --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-container-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateOracleDbAzureBlobContainerResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAzureBlobContainer instance. + */ + "oracleDbAzureBlobContainer": model.OracleDbAzureBlobContainer; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-mount-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-mount-response.ts new file mode 100644 index 0000000000..dcfe9e63c4 --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-azure-blob-mount-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateOracleDbAzureBlobMountResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAzureBlobMount instance. + */ + "oracleDbAzureBlobMount": model.OracleDbAzureBlobMount; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-azure-connector-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-azure-connector-response.ts new file mode 100644 index 0000000000..6f25cbb8ac --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-azure-connector-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateOracleDbAzureConnectorResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAzureConnector instance. + */ + "oracleDbAzureConnector": model.OracleDbAzureConnector; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-association-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-association-response.ts new file mode 100644 index 0000000000..65d7bd9872 --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-association-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateOracleDbAzureVaultAssociationResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAzureVaultAssociation instance. + */ + "oracleDbAzureVaultAssociation": model.OracleDbAzureVaultAssociation; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-response.ts new file mode 100644 index 0000000000..2ab1da2bdf --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-azure-vault-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface CreateOracleDbAzureVaultResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAzureVault instance. + */ + "oracleDbAzureVault": model.OracleDbAzureVault; +} diff --git a/lib/dbmulticloud/lib/response/delete-multi-cloud-resource-discovery-response.ts b/lib/dbmulticloud/lib/response/delete-multi-cloud-resource-discovery-response.ts new file mode 100644 index 0000000000..5f1fcba397 --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-multi-cloud-resource-discovery-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteMultiCloudResourceDiscoveryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-container-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-container-response.ts new file mode 100644 index 0000000000..4fa3df3ac7 --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-container-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteOracleDbAzureBlobContainerResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-mount-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-mount-response.ts new file mode 100644 index 0000000000..6c3afd03eb --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-blob-mount-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteOracleDbAzureBlobMountResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-azure-connector-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-connector-response.ts new file mode 100644 index 0000000000..bee5d66ef0 --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteOracleDbAzureConnectorResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-association-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-association-response.ts new file mode 100644 index 0000000000..19746a9695 --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-association-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteOracleDbAzureVaultAssociationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-response.ts new file mode 100644 index 0000000000..31b0cb5b36 --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-azure-vault-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface DeleteOracleDbAzureVaultResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/get-multi-cloud-resource-discovery-response.ts b/lib/dbmulticloud/lib/response/get-multi-cloud-resource-discovery-response.ts new file mode 100644 index 0000000000..473e40f0a9 --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-multi-cloud-resource-discovery-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetMultiCloudResourceDiscoveryResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.MultiCloudResourceDiscovery instance. + */ + "multiCloudResourceDiscovery": model.MultiCloudResourceDiscovery; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-container-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-container-response.ts new file mode 100644 index 0000000000..d22f6bd74e --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-container-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureBlobContainerResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureBlobContainer instance. + */ + "oracleDbAzureBlobContainer": model.OracleDbAzureBlobContainer; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-mount-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-mount-response.ts new file mode 100644 index 0000000000..98895358f2 --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-blob-mount-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureBlobMountResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureBlobMount instance. + */ + "oracleDbAzureBlobMount": model.OracleDbAzureBlobMount; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-connector-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-connector-response.ts new file mode 100644 index 0000000000..00e26cab7d --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-connector-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureConnectorResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureConnector instance. + */ + "oracleDbAzureConnector": model.OracleDbAzureConnector; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-key-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-key-response.ts new file mode 100644 index 0000000000..bb94b48414 --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-key-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureKeyResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureKey instance. + */ + "oracleDbAzureKey": model.OracleDbAzureKey; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-association-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-association-response.ts new file mode 100644 index 0000000000..61676cbfda --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-association-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureVaultAssociationResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureVaultAssociation instance. + */ + "oracleDbAzureVaultAssociation": model.OracleDbAzureVaultAssociation; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-response.ts new file mode 100644 index 0000000000..73124ba8e0 --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-azure-vault-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetOracleDbAzureVaultResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAzureVault instance. + */ + "oracleDbAzureVault": model.OracleDbAzureVault; +} diff --git a/lib/dbmulticloud/lib/response/get-work-request-response.ts b/lib/dbmulticloud/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..99f1137864 --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/dbmulticloud/lib/response/index.ts b/lib/dbmulticloud/lib/response/index.ts new file mode 100644 index 0000000000..7079e8062a --- /dev/null +++ b/lib/dbmulticloud/lib/response/index.ts @@ -0,0 +1,115 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 ChangeMultiCloudResourceDiscoveryCompartmentResponse from "./change-multi-cloud-resource-discovery-compartment-response"; +export import ChangeMultiCloudResourceDiscoveryCompartmentResponse = ChangeMultiCloudResourceDiscoveryCompartmentResponse.ChangeMultiCloudResourceDiscoveryCompartmentResponse; +import * as CreateMultiCloudResourceDiscoveryResponse from "./create-multi-cloud-resource-discovery-response"; +export import CreateMultiCloudResourceDiscoveryResponse = CreateMultiCloudResourceDiscoveryResponse.CreateMultiCloudResourceDiscoveryResponse; +import * as DeleteMultiCloudResourceDiscoveryResponse from "./delete-multi-cloud-resource-discovery-response"; +export import DeleteMultiCloudResourceDiscoveryResponse = DeleteMultiCloudResourceDiscoveryResponse.DeleteMultiCloudResourceDiscoveryResponse; +import * as GetMultiCloudResourceDiscoveryResponse from "./get-multi-cloud-resource-discovery-response"; +export import GetMultiCloudResourceDiscoveryResponse = GetMultiCloudResourceDiscoveryResponse.GetMultiCloudResourceDiscoveryResponse; +import * as ListMultiCloudResourceDiscoveriesResponse from "./list-multi-cloud-resource-discoveries-response"; +export import ListMultiCloudResourceDiscoveriesResponse = ListMultiCloudResourceDiscoveriesResponse.ListMultiCloudResourceDiscoveriesResponse; +import * as UpdateMultiCloudResourceDiscoveryResponse from "./update-multi-cloud-resource-discovery-response"; +export import UpdateMultiCloudResourceDiscoveryResponse = UpdateMultiCloudResourceDiscoveryResponse.UpdateMultiCloudResourceDiscoveryResponse; +import * as ChangeOracleDbAzureBlobContainerCompartmentResponse from "./change-oracle-db-azure-blob-container-compartment-response"; +export import ChangeOracleDbAzureBlobContainerCompartmentResponse = ChangeOracleDbAzureBlobContainerCompartmentResponse.ChangeOracleDbAzureBlobContainerCompartmentResponse; +import * as CreateOracleDbAzureBlobContainerResponse from "./create-oracle-db-azure-blob-container-response"; +export import CreateOracleDbAzureBlobContainerResponse = CreateOracleDbAzureBlobContainerResponse.CreateOracleDbAzureBlobContainerResponse; +import * as DeleteOracleDbAzureBlobContainerResponse from "./delete-oracle-db-azure-blob-container-response"; +export import DeleteOracleDbAzureBlobContainerResponse = DeleteOracleDbAzureBlobContainerResponse.DeleteOracleDbAzureBlobContainerResponse; +import * as GetOracleDbAzureBlobContainerResponse from "./get-oracle-db-azure-blob-container-response"; +export import GetOracleDbAzureBlobContainerResponse = GetOracleDbAzureBlobContainerResponse.GetOracleDbAzureBlobContainerResponse; +import * as ListOracleDbAzureBlobContainersResponse from "./list-oracle-db-azure-blob-containers-response"; +export import ListOracleDbAzureBlobContainersResponse = ListOracleDbAzureBlobContainersResponse.ListOracleDbAzureBlobContainersResponse; +import * as UpdateOracleDbAzureBlobContainerResponse from "./update-oracle-db-azure-blob-container-response"; +export import UpdateOracleDbAzureBlobContainerResponse = UpdateOracleDbAzureBlobContainerResponse.UpdateOracleDbAzureBlobContainerResponse; +import * as ChangeOracleDbAzureBlobMountCompartmentResponse from "./change-oracle-db-azure-blob-mount-compartment-response"; +export import ChangeOracleDbAzureBlobMountCompartmentResponse = ChangeOracleDbAzureBlobMountCompartmentResponse.ChangeOracleDbAzureBlobMountCompartmentResponse; +import * as CreateOracleDbAzureBlobMountResponse from "./create-oracle-db-azure-blob-mount-response"; +export import CreateOracleDbAzureBlobMountResponse = CreateOracleDbAzureBlobMountResponse.CreateOracleDbAzureBlobMountResponse; +import * as DeleteOracleDbAzureBlobMountResponse from "./delete-oracle-db-azure-blob-mount-response"; +export import DeleteOracleDbAzureBlobMountResponse = DeleteOracleDbAzureBlobMountResponse.DeleteOracleDbAzureBlobMountResponse; +import * as GetOracleDbAzureBlobMountResponse from "./get-oracle-db-azure-blob-mount-response"; +export import GetOracleDbAzureBlobMountResponse = GetOracleDbAzureBlobMountResponse.GetOracleDbAzureBlobMountResponse; +import * as ListOracleDbAzureBlobMountsResponse from "./list-oracle-db-azure-blob-mounts-response"; +export import ListOracleDbAzureBlobMountsResponse = ListOracleDbAzureBlobMountsResponse.ListOracleDbAzureBlobMountsResponse; +import * as UpdateOracleDbAzureBlobMountResponse from "./update-oracle-db-azure-blob-mount-response"; +export import UpdateOracleDbAzureBlobMountResponse = UpdateOracleDbAzureBlobMountResponse.UpdateOracleDbAzureBlobMountResponse; +import * as ChangeOracleDbAzureConnectorCompartmentResponse from "./change-oracle-db-azure-connector-compartment-response"; +export import ChangeOracleDbAzureConnectorCompartmentResponse = ChangeOracleDbAzureConnectorCompartmentResponse.ChangeOracleDbAzureConnectorCompartmentResponse; +import * as CreateOracleDbAzureConnectorResponse from "./create-oracle-db-azure-connector-response"; +export import CreateOracleDbAzureConnectorResponse = CreateOracleDbAzureConnectorResponse.CreateOracleDbAzureConnectorResponse; +import * as DeleteOracleDbAzureConnectorResponse from "./delete-oracle-db-azure-connector-response"; +export import DeleteOracleDbAzureConnectorResponse = DeleteOracleDbAzureConnectorResponse.DeleteOracleDbAzureConnectorResponse; +import * as GetOracleDbAzureConnectorResponse from "./get-oracle-db-azure-connector-response"; +export import GetOracleDbAzureConnectorResponse = GetOracleDbAzureConnectorResponse.GetOracleDbAzureConnectorResponse; +import * as ListOracleDbAzureConnectorsResponse from "./list-oracle-db-azure-connectors-response"; +export import ListOracleDbAzureConnectorsResponse = ListOracleDbAzureConnectorsResponse.ListOracleDbAzureConnectorsResponse; +import * as PatchOracleDbAzureConnectorResponse from "./patch-oracle-db-azure-connector-response"; +export import PatchOracleDbAzureConnectorResponse = PatchOracleDbAzureConnectorResponse.PatchOracleDbAzureConnectorResponse; +import * as UpdateOracleDbAzureConnectorResponse from "./update-oracle-db-azure-connector-response"; +export import UpdateOracleDbAzureConnectorResponse = UpdateOracleDbAzureConnectorResponse.UpdateOracleDbAzureConnectorResponse; +import * as GetOracleDbAzureKeyResponse from "./get-oracle-db-azure-key-response"; +export import GetOracleDbAzureKeyResponse = GetOracleDbAzureKeyResponse.GetOracleDbAzureKeyResponse; +import * as ListOracleDbAzureKeysResponse from "./list-oracle-db-azure-keys-response"; +export import ListOracleDbAzureKeysResponse = ListOracleDbAzureKeysResponse.ListOracleDbAzureKeysResponse; +import * as ChangeOracleDbAzureVaultCompartmentResponse from "./change-oracle-db-azure-vault-compartment-response"; +export import ChangeOracleDbAzureVaultCompartmentResponse = ChangeOracleDbAzureVaultCompartmentResponse.ChangeOracleDbAzureVaultCompartmentResponse; +import * as CreateOracleDbAzureVaultResponse from "./create-oracle-db-azure-vault-response"; +export import CreateOracleDbAzureVaultResponse = CreateOracleDbAzureVaultResponse.CreateOracleDbAzureVaultResponse; +import * as DeleteOracleDbAzureVaultResponse from "./delete-oracle-db-azure-vault-response"; +export import DeleteOracleDbAzureVaultResponse = DeleteOracleDbAzureVaultResponse.DeleteOracleDbAzureVaultResponse; +import * as GetOracleDbAzureVaultResponse from "./get-oracle-db-azure-vault-response"; +export import GetOracleDbAzureVaultResponse = GetOracleDbAzureVaultResponse.GetOracleDbAzureVaultResponse; +import * as ListOracleDbAzureVaultsResponse from "./list-oracle-db-azure-vaults-response"; +export import ListOracleDbAzureVaultsResponse = ListOracleDbAzureVaultsResponse.ListOracleDbAzureVaultsResponse; +import * as RefreshOracleDbAzureVaultResponse from "./refresh-oracle-db-azure-vault-response"; +export import RefreshOracleDbAzureVaultResponse = RefreshOracleDbAzureVaultResponse.RefreshOracleDbAzureVaultResponse; +import * as UpdateOracleDbAzureVaultResponse from "./update-oracle-db-azure-vault-response"; +export import UpdateOracleDbAzureVaultResponse = UpdateOracleDbAzureVaultResponse.UpdateOracleDbAzureVaultResponse; +import * as CascadingDeleteOracleDbAzureVaultAssociationResponse from "./cascading-delete-oracle-db-azure-vault-association-response"; +export import CascadingDeleteOracleDbAzureVaultAssociationResponse = CascadingDeleteOracleDbAzureVaultAssociationResponse.CascadingDeleteOracleDbAzureVaultAssociationResponse; +import * as ChangeOracleDbAzureVaultAssociationCompartmentResponse from "./change-oracle-db-azure-vault-association-compartment-response"; +export import ChangeOracleDbAzureVaultAssociationCompartmentResponse = ChangeOracleDbAzureVaultAssociationCompartmentResponse.ChangeOracleDbAzureVaultAssociationCompartmentResponse; +import * as CreateOracleDbAzureVaultAssociationResponse from "./create-oracle-db-azure-vault-association-response"; +export import CreateOracleDbAzureVaultAssociationResponse = CreateOracleDbAzureVaultAssociationResponse.CreateOracleDbAzureVaultAssociationResponse; +import * as DeleteOracleDbAzureVaultAssociationResponse from "./delete-oracle-db-azure-vault-association-response"; +export import DeleteOracleDbAzureVaultAssociationResponse = DeleteOracleDbAzureVaultAssociationResponse.DeleteOracleDbAzureVaultAssociationResponse; +import * as GetOracleDbAzureVaultAssociationResponse from "./get-oracle-db-azure-vault-association-response"; +export import GetOracleDbAzureVaultAssociationResponse = GetOracleDbAzureVaultAssociationResponse.GetOracleDbAzureVaultAssociationResponse; +import * as ListOracleDbAzureVaultAssociationsResponse from "./list-oracle-db-azure-vault-associations-response"; +export import ListOracleDbAzureVaultAssociationsResponse = ListOracleDbAzureVaultAssociationsResponse.ListOracleDbAzureVaultAssociationsResponse; +import * as UpdateOracleDbAzureVaultAssociationResponse from "./update-oracle-db-azure-vault-association-response"; +export import UpdateOracleDbAzureVaultAssociationResponse = UpdateOracleDbAzureVaultAssociationResponse.UpdateOracleDbAzureVaultAssociationResponse; +import * as CancelWorkRequestResponse from "./cancel-work-request-response"; +export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; diff --git a/lib/dbmulticloud/lib/response/list-multi-cloud-resource-discoveries-response.ts b/lib/dbmulticloud/lib/response/list-multi-cloud-resource-discoveries-response.ts new file mode 100644 index 0000000000..6b149215bf --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-multi-cloud-resource-discoveries-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListMultiCloudResourceDiscoveriesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.MultiCloudResourceDiscoverySummaryCollection instance. + */ + "multiCloudResourceDiscoverySummaryCollection": model.MultiCloudResourceDiscoverySummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-containers-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-containers-response.ts new file mode 100644 index 0000000000..da8a368ad6 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-containers-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureBlobContainersResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureBlobContainerSummaryCollection instance. + */ + "oracleDbAzureBlobContainerSummaryCollection": model.OracleDbAzureBlobContainerSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-mounts-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-mounts-response.ts new file mode 100644 index 0000000000..4e9431ab03 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-blob-mounts-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureBlobMountsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureBlobMountSummaryCollection instance. + */ + "oracleDbAzureBlobMountSummaryCollection": model.OracleDbAzureBlobMountSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-connectors-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-connectors-response.ts new file mode 100644 index 0000000000..87a2304631 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-connectors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureConnectorsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureConnectorSummaryCollection instance. + */ + "oracleDbAzureConnectorSummaryCollection": model.OracleDbAzureConnectorSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-keys-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-keys-response.ts new file mode 100644 index 0000000000..ae8120191b --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-keys-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureKeysResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureKeySummaryCollection instance. + */ + "oracleDbAzureKeySummaryCollection": model.OracleDbAzureKeySummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-vault-associations-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-vault-associations-response.ts new file mode 100644 index 0000000000..5b482d2dd6 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-vault-associations-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureVaultAssociationsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureVaultAssociationSummaryCollection instance. + */ + "oracleDbAzureVaultAssociationSummaryCollection": model.OracleDbAzureVaultAssociationSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-azure-vaults-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-azure-vaults-response.ts new file mode 100644 index 0000000000..efa2bd6d07 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-azure-vaults-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListOracleDbAzureVaultsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAzureVaultSummaryCollection instance. + */ + "oracleDbAzureVaultSummaryCollection": model.OracleDbAzureVaultSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-work-request-errors-response.ts b/lib/dbmulticloud/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..0b03250375 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-work-request-logs-response.ts b/lib/dbmulticloud/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..fac4f48104 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-work-requests-response.ts b/lib/dbmulticloud/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..63036f5cf6 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/patch-oracle-db-azure-connector-response.ts b/lib/dbmulticloud/lib/response/patch-oracle-db-azure-connector-response.ts new file mode 100644 index 0000000000..9261f42912 --- /dev/null +++ b/lib/dbmulticloud/lib/response/patch-oracle-db-azure-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface PatchOracleDbAzureConnectorResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/refresh-oracle-db-azure-vault-response.ts b/lib/dbmulticloud/lib/response/refresh-oracle-db-azure-vault-response.ts new file mode 100644 index 0000000000..3af99d19c3 --- /dev/null +++ b/lib/dbmulticloud/lib/response/refresh-oracle-db-azure-vault-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface RefreshOracleDbAzureVaultResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-multi-cloud-resource-discovery-response.ts b/lib/dbmulticloud/lib/response/update-multi-cloud-resource-discovery-response.ts new file mode 100644 index 0000000000..03d29224ad --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-multi-cloud-resource-discovery-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateMultiCloudResourceDiscoveryResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-container-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-container-response.ts new file mode 100644 index 0000000000..712957f1c9 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-container-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateOracleDbAzureBlobContainerResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-mount-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-mount-response.ts new file mode 100644 index 0000000000..1059cb3d43 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-azure-blob-mount-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateOracleDbAzureBlobMountResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-azure-connector-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-azure-connector-response.ts new file mode 100644 index 0000000000..613dff1ff8 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-azure-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateOracleDbAzureConnectorResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-association-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-association-response.ts new file mode 100644 index 0000000000..758971eba2 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-association-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateOracleDbAzureVaultAssociationResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-response.ts new file mode 100644 index 0000000000..e2f6b9eaaa --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-azure-vault-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +export interface UpdateOracleDbAzureVaultResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/workrequest-waiter.ts b/lib/dbmulticloud/lib/workrequest-waiter.ts new file mode 100644 index 0000000000..48f5406f4c --- /dev/null +++ b/lib/dbmulticloud/lib/workrequest-waiter.ts @@ -0,0 +1,51 @@ +/** + * Oracle Database MultiCloud Data plane Integration + * 1. Oracle Azure Connector Resource: This is for installing Azure Arc Server in ExaCS VM Cluster. + There are two way to install Azure Arc Server (Azure Identity) in ExaCS VMCluster. + a. Using Bearer Access Token or + b. By providing Authentication token + +2. Oracle Azure Blob Container Resource: This is for to capture Azure Container details + and same will be used in multiple ExaCS VMCluster to mount the Azure Container. + +3. Oracle Azure Blob Mount Resource: This is for to mount Azure Container in ExaCS VMCluster + using Oracle Azure Connector and Oracle Azure Blob Container Resource. + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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 serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { WorkRequestClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class WorkRequestWaiter { + public constructor( + private client: WorkRequestClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json new file mode 100644 index 0000000000..9fa59036c9 --- /dev/null +++ b/lib/dbmulticloud/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-dbmulticloud", + "version": "2.112.0", + "description": "OCI NodeJS client for Dbmulticloud Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/dbmulticloud/index.js", + "typings": "../../target/lib/dbmulticloud/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/dbmulticloud/tsconfig.json b/lib/dbmulticloud/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/dbmulticloud/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index a40521548e..b7d33a2e35 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Delegate Access Control Service", "repository": { "type": "git", diff --git a/lib/demandsignal/package.json b/lib/demandsignal/package.json index e5702e56d9..e206de65df 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index 9bdd9a0fa3..dc20becbee 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 07f140f436..e750bfc10c 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 12eaabb303..de25db3818 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index 58cc410c5e..1a377a010a 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Distributed Database Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index 4a1c8b2b20..df02e342a9 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/dts/package.json b/lib/dts/package.json index e501a8c06d..b23b38a959 100644 --- a/lib/dts/package.json +++ b/lib/dts/package.json @@ -1,6 +1,6 @@ { "name": "oci-dts", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Dts Service", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index d1497200e9..b62dc159d1 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index db6769cf34..f6fa5caa0d 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Email Data Plane Service", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index 866ce4e4e2..a47c138d5d 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Em Warehouse Service", "repository": { "type": "git", diff --git a/lib/events/package.json b/lib/events/package.json index 013cb0cee3..6aba134b3a 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index a82a1f739f..524ba42fd6 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index b76b3ae07b..4452546856 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index 3fef65550a..dcc708ddf7 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/package.json b/lib/functions/package.json index eb68b8fb75..04f5172371 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 839c9755aa..eae684a5d5 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index eac1caafbb..e3b9112e6d 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index 1900e9e1dd..41807ac8df 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Generative Ai Agent Service", "repository": { "type": "git", diff --git a/lib/generativeaiagentruntime/package.json b/lib/generativeaiagentruntime/package.json index 4f4db8fb0f..8611412304 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index 9d6342e5a9..7a89beafda 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Generative Ai Inference Service", "repository": { "type": "git", diff --git a/lib/genericartifactscontent/package.json b/lib/genericartifactscontent/package.json index 81c676e7cf..606190bf09 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Generic Artifacts Content Service", "repository": { "type": "git", diff --git a/lib/globallydistributeddatabase/package.json b/lib/globallydistributeddatabase/package.json index 856f3c5d4d..8044e674ab 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index f250af1f3b..9631940e93 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Golden Gate Service", "repository": { "type": "git", diff --git a/lib/governancerulescontrolplane/package.json b/lib/governancerulescontrolplane/package.json index e6d370cf83..07ec567294 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Governance Rules Control Plane Service", "repository": { "type": "git", diff --git a/lib/healthchecks/package.json b/lib/healthchecks/package.json index 918059f264..edfdc1d755 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 8e67da7ee0..7a12740e53 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index ad5b13413e..c7007b0411 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Identity Data Plane Service", "repository": { "type": "git", diff --git a/lib/identitydomains/package.json b/lib/identitydomains/package.json index 6d731caf91..e2866f2a88 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Identity Domains Service", "repository": { "type": "git", diff --git a/lib/integration/package.json b/lib/integration/package.json index 414841cfe1..9169590764 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 1b7f405bd5..9c857196b0 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 6ecb03dff4..c05a40ce0c 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 699acfa44a..dd44c937b1 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index cf4df5ee0d..1402769bc0 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/package.json b/lib/limits/package.json index 66fc9aed7c..16faae12f0 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 944fb02e23..41535764f4 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 83a2c56af5..0d03899e66 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 3f3289e2af..82ab304623 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index 59b2f35a59..74cbf74a6f 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index b55e9c5fe8..3598129711 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 976a18f141..361dd8205a 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index 2fb5642c10..8668de211e 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index da6072139b..c4a952961b 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Management Agent Service", "repository": { "type": "git", diff --git a/lib/managementdashboard/package.json b/lib/managementdashboard/package.json index 4b9b54e765..68a434c796 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index 9fdbef42ed..2881ac9a3a 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index f18778bd65..54bad37486 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 7598c4df1a..702a572f2c 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Marketplace Publisher Service", "repository": { "type": "git", diff --git a/lib/mediaservices/package.json b/lib/mediaservices/package.json index dd57bd7d9e..3a9d97a080 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index d6ed203129..edc615305d 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index 68d8c7fd03..ff8bef4561 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Model Deployment Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index f83ae96645..2104e36df2 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/mysql/lib/model/backup-summary.ts b/lib/mysql/lib/model/backup-summary.ts index c3789dfe3c..7d5b04b625 100644 --- a/lib/mysql/lib/model/backup-summary.ts +++ b/lib/mysql/lib/model/backup-summary.ts @@ -124,6 +124,7 @@ export interface BackupSummary { */ "timeCopyCreated"?: Date; "dbSystemSnapshotSummary"?: model.DbSystemSnapshotSummary; + "encryptData"?: model.EncryptDataDetails; } export namespace BackupSummary { @@ -133,6 +134,9 @@ export namespace BackupSummary { ...{ "dbSystemSnapshotSummary": obj.dbSystemSnapshotSummary ? model.DbSystemSnapshotSummary.getJsonObj(obj.dbSystemSnapshotSummary) + : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) : undefined } }; @@ -145,6 +149,9 @@ export namespace BackupSummary { ...{ "dbSystemSnapshotSummary": obj.dbSystemSnapshotSummary ? model.DbSystemSnapshotSummary.getDeserializedJsonObj(obj.dbSystemSnapshotSummary) + : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) : undefined } }; diff --git a/lib/mysql/lib/model/backup.ts b/lib/mysql/lib/model/backup.ts index 303ce2ea8f..9c8ba76b2e 100644 --- a/lib/mysql/lib/model/backup.ts +++ b/lib/mysql/lib/model/backup.ts @@ -132,6 +132,7 @@ export interface Backup { * */ "timeCopyCreated"?: Date; + "encryptData"?: model.EncryptDataDetails; } export namespace Backup { @@ -178,6 +179,10 @@ export namespace Backup { ...{ "dbSystemSnapshot": obj.dbSystemSnapshot ? model.DbSystemSnapshot.getJsonObj(obj.dbSystemSnapshot) + : undefined, + + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) : undefined } }; @@ -190,6 +195,10 @@ export namespace Backup { ...{ "dbSystemSnapshot": obj.dbSystemSnapshot ? model.DbSystemSnapshot.getDeserializedJsonObj(obj.dbSystemSnapshot) + : undefined, + + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) : undefined } }; diff --git a/lib/mysql/lib/model/copy-backup-details.ts b/lib/mysql/lib/model/copy-backup-details.ts index c9f3861018..49fd8e5c32 100644 --- a/lib/mysql/lib/model/copy-backup-details.ts +++ b/lib/mysql/lib/model/copy-backup-details.ts @@ -55,16 +55,31 @@ export interface CopyBackupDetails { * */ "sourceRegion": string; + "encryptData"?: model.EncryptDataDetails; } export namespace CopyBackupDetails { export function getJsonObj(obj: CopyBackupDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: CopyBackupDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined + } + }; return jsonObj; } diff --git a/lib/mysql/lib/model/create-db-system-details.ts b/lib/mysql/lib/model/create-db-system-details.ts index ae199e6a82..fc3f30c97f 100644 --- a/lib/mysql/lib/model/create-db-system-details.ts +++ b/lib/mysql/lib/model/create-db-system-details.ts @@ -170,6 +170,7 @@ Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 11 */ "databaseManagement"?: model.DatabaseManagementStatus; "secureConnections"?: model.SecureConnectionDetails; + "encryptData"?: model.EncryptDataDetails; /** * The database mode indicating the types of statements that will be allowed to run in the DB system. * This mode will apply only to statements run by user connections. Replicated write statements will continue @@ -224,6 +225,9 @@ export namespace CreateDbSystemDetails { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { @@ -265,6 +269,9 @@ export namespace CreateDbSystemDetails { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getDeserializedJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { diff --git a/lib/mysql/lib/model/db-system-snapshot.ts b/lib/mysql/lib/model/db-system-snapshot.ts index 607b2191e2..54cd0c86f4 100644 --- a/lib/mysql/lib/model/db-system-snapshot.ts +++ b/lib/mysql/lib/model/db-system-snapshot.ts @@ -145,6 +145,7 @@ export interface DbSystemSnapshot { */ "databaseManagement"?: model.DatabaseManagementStatus; "secureConnections"?: model.SecureConnectionDetails; + "encryptData"?: model.EncryptDataDetails; /** * The region identifier of the region where the DB system exists. * For more information, please see [Regions and Availability Domains](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm). @@ -182,6 +183,9 @@ export namespace DbSystemSnapshot { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined, "readEndpoint": obj.readEndpoint ? model.ReadEndpointDetails.getJsonObj(obj.readEndpoint) @@ -220,6 +224,9 @@ export namespace DbSystemSnapshot { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getDeserializedJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined, "readEndpoint": obj.readEndpoint ? model.ReadEndpointDetails.getDeserializedJsonObj(obj.readEndpoint) diff --git a/lib/mysql/lib/model/db-system.ts b/lib/mysql/lib/model/db-system.ts index 5ce267f1a2..20e38812e0 100644 --- a/lib/mysql/lib/model/db-system.ts +++ b/lib/mysql/lib/model/db-system.ts @@ -192,6 +192,7 @@ For a standalone DB System, this defines the fault domain in which the DB System */ "databaseManagement"?: model.DatabaseManagementStatus; "secureConnections"?: model.SecureConnectionDetails; + "encryptData"?: model.EncryptDataDetails; /** * The database mode indicating the types of statements that are allowed to run in the the DB system. * This mode applies only to statements run by user connections. Replicated write statements continue @@ -303,6 +304,9 @@ export namespace DbSystem { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { @@ -365,6 +369,9 @@ export namespace DbSystem { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getDeserializedJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { diff --git a/lib/mysql/lib/model/encrypt-data-details.ts b/lib/mysql/lib/model/encrypt-data-details.ts new file mode 100644 index 0000000000..fdc58c5cc2 --- /dev/null +++ b/lib/mysql/lib/model/encrypt-data-details.ts @@ -0,0 +1,43 @@ +/** + * MySQL Database Service API + * The API for the MySQL Database Service + * OpenAPI spec version: 20190415 + * Contact: mysql-cloud-dev_ww_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Encrypt data details. + * + */ +export interface EncryptDataDetails { + /** + * The OCID of the key to use. + */ + "keyId"?: string; + /** + * Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK). + */ + "keyGenerationType": model.KeyGenerationType; +} + +export namespace EncryptDataDetails { + export function getJsonObj(obj: EncryptDataDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EncryptDataDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/mysql/lib/model/index.ts b/lib/mysql/lib/model/index.ts index 2d15ac4782..8a6911e8a3 100644 --- a/lib/mysql/lib/model/index.ts +++ b/lib/mysql/lib/model/index.ts @@ -99,6 +99,8 @@ import * as DbSystemSummary from "./db-system-summary"; export import DbSystemSummary = DbSystemSummary.DbSystemSummary; import * as DeletionPolicyDetails from "./deletion-policy-details"; export import DeletionPolicyDetails = DeletionPolicyDetails.DeletionPolicyDetails; +import * as EncryptDataDetails from "./encrypt-data-details"; +export import EncryptDataDetails = EncryptDataDetails.EncryptDataDetails; import * as HeatWaveCluster from "./heat-wave-cluster"; export import HeatWaveCluster = HeatWaveCluster.HeatWaveCluster; import * as HeatWaveClusterMemoryEstimate from "./heat-wave-cluster-memory-estimate"; @@ -117,6 +119,8 @@ import * as InitializationVariables from "./initialization-variables"; export import InitializationVariables = InitializationVariables.InitializationVariables; import * as InnoDbShutdownMode from "./inno-db-shutdown-mode"; export import InnoDbShutdownMode = InnoDbShutdownMode.InnoDbShutdownMode; +import * as KeyGenerationType from "./key-generation-type"; +export import KeyGenerationType = KeyGenerationType.KeyGenerationType; import * as MaintenanceDetails from "./maintenance-details"; export import MaintenanceDetails = MaintenanceDetails.MaintenanceDetails; import * as PitrPolicy from "./pitr-policy"; diff --git a/lib/mysql/lib/model/key-generation-type.ts b/lib/mysql/lib/model/key-generation-type.ts new file mode 100644 index 0000000000..e9ec5e04bc --- /dev/null +++ b/lib/mysql/lib/model/key-generation-type.ts @@ -0,0 +1,38 @@ +/** + * MySQL Database Service API + * The API for the MySQL Database Service + * OpenAPI spec version: 20190415 + * Contact: mysql-cloud-dev_ww_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, 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"; +import common = require("oci-common"); + +/** + * Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK). + **/ +export enum KeyGenerationType { + System = "SYSTEM", + Byok = "BYOK", + + /** + * 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" +} + +export namespace KeyGenerationType { + export function getJsonObj(obj: KeyGenerationType): KeyGenerationType { + return obj; + } + export function getDeserializedJsonObj(obj: KeyGenerationType): KeyGenerationType { + return obj; + } +} diff --git a/lib/mysql/lib/model/replica.ts b/lib/mysql/lib/model/replica.ts index adaa6e981b..fb7fad8a46 100644 --- a/lib/mysql/lib/model/replica.ts +++ b/lib/mysql/lib/model/replica.ts @@ -19,6 +19,7 @@ import common = require("oci-common"); */ export interface Replica { "secureConnections"?: model.SecureConnectionDetails; + "encryptData"?: model.EncryptDataDetails; /** * The OCID of the read replica. */ @@ -145,6 +146,9 @@ export namespace Replica { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined, "replicaOverrides": obj.replicaOverrides ? model.ReplicaOverrides.getJsonObj(obj.replicaOverrides) @@ -161,6 +165,9 @@ export namespace Replica { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getDeserializedJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined, "replicaOverrides": obj.replicaOverrides ? model.ReplicaOverrides.getDeserializedJsonObj(obj.replicaOverrides) diff --git a/lib/mysql/lib/model/update-db-system-details.ts b/lib/mysql/lib/model/update-db-system-details.ts index 0ca811d0e6..4be1923897 100644 --- a/lib/mysql/lib/model/update-db-system-details.ts +++ b/lib/mysql/lib/model/update-db-system-details.ts @@ -186,6 +186,7 @@ It is not possible to decrease data storage size. */ "databaseManagement"?: model.DatabaseManagementStatus; "secureConnections"?: model.SecureConnectionDetails; + "encryptData"?: model.EncryptDataDetails; /** * The list of customer email addresses that receive information from Oracle about the specified OCI DB System resource. * Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. @@ -221,6 +222,9 @@ export namespace UpdateDbSystemDetails { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { return model.CustomerContact.getJsonObj(item); @@ -258,6 +262,9 @@ export namespace UpdateDbSystemDetails { "secureConnections": obj.secureConnections ? model.SecureConnectionDetails.getDeserializedJsonObj(obj.secureConnections) : undefined, + "encryptData": obj.encryptData + ? model.EncryptDataDetails.getDeserializedJsonObj(obj.encryptData) + : undefined, "customerContacts": obj.customerContacts ? obj.customerContacts.map(item => { return model.CustomerContact.getDeserializedJsonObj(item); diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 593337ca9a..a2cb575879 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index 19204700e6..6f91d17a92 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index d9c7366207..4a36e0b867 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Network Load Balancer Service", "repository": { "type": "git", diff --git a/lib/nosql/package.json b/lib/nosql/package.json index b403598ef3..714651352a 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index ca9b196d24..19aa9fdb32 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index baa5629563..be0855b922 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index fda26473dc..a37acd2e26 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Oci Control Center Service", "repository": { "type": "git", diff --git a/lib/ocvp/package.json b/lib/ocvp/package.json index 412bc38287..6e650e8d78 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index d8d36c4091..4f0d7d7090 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index bb14948cc1..896899edbf 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 4822ec22ce..620ca1b26f 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 53cdf7da56..bd605f97ee 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index ec51d390d6..89bfce64cd 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index b250b4edfe..1e2ff8e33d 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Operator Access Control Service", "repository": { "type": "git", diff --git a/lib/opsi/package.json b/lib/opsi/package.json index 35458976a5..2647626eb0 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index d6a93a13f4..afedddaa28 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagement/package.json b/lib/osmanagement/package.json index 34080f4b5f..4759755472 100644 --- a/lib/osmanagement/package.json +++ b/lib/osmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagement", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for OS Management", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 1233cd4bdb..4f7ead1d7c 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Os Management Hub Service", "repository": { "type": "git", diff --git a/lib/ospgateway/package.json b/lib/ospgateway/package.json index e78ecfbb8c..f256d8c199 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Osp Gateway Service", "repository": { "type": "git", diff --git a/lib/osubbillingschedule/package.json b/lib/osubbillingschedule/package.json index 592f186b8e..e6c11b0512 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Osub Billing Schedule Service", "repository": { "type": "git", diff --git a/lib/osuborganizationsubscription/package.json b/lib/osuborganizationsubscription/package.json index a0d085f1d4..af162521d0 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Osub Organization Subscription Service", "repository": { "type": "git", diff --git a/lib/osubsubscription/package.json b/lib/osubsubscription/package.json index 760fe2e7ca..dabcada048 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Osub Subscription Service", "repository": { "type": "git", diff --git a/lib/osubusage/package.json b/lib/osubusage/package.json index 3e896bae04..c8c7e2252d 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index 8388d4a6b1..d9e37759b5 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 4d2b521ca1..4fee511507 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 50117de5d7..4def315d9e 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index c8d47585a5..674ca4934f 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 15774c8590..77d789bbe4 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index 1ff5439387..37fa6a4246 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index ce46e24c86..a4e56a3e32 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for resource research Service", "repository": { "type": "git", diff --git a/lib/rover/package.json b/lib/rover/package.json index c017ccbc08..cf88066700 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index d49cf2f00f..4f2c2760d3 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index a79d7de119..ca14af2c16 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index bfe4e18343..eb6f80ba0c 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 13fede3f2e..bacc805519 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Service Catalog Service", "repository": { "type": "git", diff --git a/lib/servicemanagerproxy/package.json b/lib/servicemanagerproxy/package.json index 5ea867fb20..9d072482b0 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/servicemesh/package.json b/lib/servicemesh/package.json index abb675a405..cc66cdb32a 100644 --- a/lib/servicemesh/package.json +++ b/lib/servicemesh/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemesh", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Service Mesh Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index 85a711693b..161eb52014 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Stack Monitoring Service", "repository": { "type": "git", diff --git a/lib/streaming/package.json b/lib/streaming/package.json index ab9a1ca2e2..f8f4075cdd 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index c071536fd9..6f3a9db85a 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Tenant Manager Control Plane Service", "repository": { "type": "git", diff --git a/lib/threatintelligence/package.json b/lib/threatintelligence/package.json index 934e1432da..494829afc0 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Threat Intelligence Service", "repository": { "type": "git", diff --git a/lib/usage/package.json b/lib/usage/package.json index 6d10dffca1..85f77c98e3 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 05ee1cce4b..87cc684942 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Usage Api Service", "repository": { "type": "git", diff --git a/lib/vault/package.json b/lib/vault/package.json index 396d298714..53e44bf26f 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index f4d5f70a20..74d8c5a4ed 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Vbs Inst Service", "repository": { "type": "git", diff --git a/lib/visualbuilder/package.json b/lib/visualbuilder/package.json index 87fad3c9c2..86d56fa024 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index e4945c85d3..83e7c674ae 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Vn Monitoring Service", "repository": { "type": "git", diff --git a/lib/vulnerabilityscanning/package.json b/lib/vulnerabilityscanning/package.json index 8806b175be..e4e7394e7c 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Vulnerability Scanning Service", "repository": { "type": "git", diff --git a/lib/waa/package.json b/lib/waa/package.json index d4b9e66677..f917f6797c 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 5f49916c55..261c516a85 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 60b5c51e62..9f64cbdceb 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index f420df4556..10245cf89f 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index 82474c02df..b4075e7ed4 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index db6d311f2c..467ff88a49 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.111.3", + "version": "2.112.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index 0842b51ddf..5a62c1b848 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.111.3", + "version": "2.112.0", "author": { "name": "Oracle Cloud Infrastructure", "email": "" @@ -176,7 +176,8 @@ "oci-modeldeployment": "file:lib/modeldeployment", "oci-distributeddatabase": "file:lib/distributeddatabase", "oci-apiaccesscontrol": "file:lib/apiaccesscontrol", - "oci-wlms": "file:lib/wlms" + "oci-wlms": "file:lib/wlms", + "oci-dbmulticloud": "file:lib/dbmulticloud" }, "publishConfig": { "registry": "https://registry.npmjs.org"