Skip to content

Releasing version 2.92.0 #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).
## 2.92.0 - 2024-08-20
### Added
- Support for Fleet Application Management service
- Support for creating maintenance runs using autonomous database software images in the Database service
- Support for Object Storage buckets, Oracle databases, Oracle databases on exascale Infrastructure, autonomous container databases, and autonomous container databases on Cloud at Customer in the Disaster Recovery service
- Support for multiple sharing modes in the OCI Cache service
- Support for extended data retention periods for instances in the Integration Cloud service
- Support for SQL watch and lifecycle management in the Database management service
- Support for identity domains and feature sets in the Analytics Cloud service
- Support for automatically extending the storage space for MySQL DB systems in pre-defined increments in the MySQL Database service

### Breaking Changes
- The field `drPlanExecutionType` has been removed from the model `ListDrPlanExecutionsRequest` in the Disaster Recovery service

## 2.91.1 - 2024-08-12
### Added
- Support for calling Oracle Cloud Infrastructure services in the `me-abudhabi-4` region
Expand Down
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,4 @@ export import clusterplacementgroups = require("oci-clusterplacementgroups");
export import marketplaceprivateoffer = require("oci-marketplaceprivateoffer");
export import resourcescheduler = require("oci-resourcescheduler");
export import demandsignal = require("oci-demandsignal");
export import fleetappsmanagement = require("oci-fleetappsmanagement");
2 changes: 1 addition & 1 deletion lib/accessgovernancecp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-accessgovernancecp",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Access Governance Cp Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/adm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-adm",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Adm Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aianomalydetection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aianomalydetection",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aidocument/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aidocument",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Ai Document Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/ailanguage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-ailanguage",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Ai Language Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aispeech/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aispeech",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Ai Speech Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aivision/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aivision",
"version": "2.91.1",
"version": "2.92.0",
"description": "OCI NodeJS client for Ai Vision Service",
"repository": {
"type": "git",
Expand Down
80 changes: 80 additions & 0 deletions lib/analytics/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,86 @@ export class AnalyticsClient {
}
}

/**
* Set the external service properties of an Analytics instance.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param SetFeatureBundleRequest
* @return SetFeatureBundleResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/analytics/SetFeatureBundle.ts.html |here} to see how to use SetFeatureBundle API.
*/
public async setFeatureBundle(
setFeatureBundleRequest: requests.SetFeatureBundleRequest
): Promise<responses.SetFeatureBundleResponse> {
if (this.logger) this.logger.debug("Calling operation AnalyticsClient#setFeatureBundle.");
const operationName = "setFeatureBundle";
const apiReferenceLink =
"https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/SetFeatureBundle";
const pathParams = {
"{analyticsInstanceId}": setFeatureBundleRequest.analyticsInstanceId
};

const queryParams = {};

let headerParams = {
"Content-Type": common.Constants.APPLICATION_JSON,
"if-match": setFeatureBundleRequest.ifMatch,
"opc-request-id": setFeatureBundleRequest.opcRequestId,
"opc-retry-token": setFeatureBundleRequest.opcRetryToken
};

const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
const retrier = GenericRetrier.createPreferredRetrier(
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
setFeatureBundleRequest.retryConfiguration,
specRetryConfiguration
);
if (this.logger) retrier.logger = this.logger;
const request = await composeRequest({
baseEndpoint: this._endpoint,
defaultHeaders: this._defaultHeaders,
path: "/analyticsInstances/{analyticsInstanceId}/actions/setFeatureBundle",
method: "POST",
bodyContent: common.ObjectSerializer.serialize(
setFeatureBundleRequest.setFeatureBundleDetails,
"SetFeatureBundleDetails",
model.SetFeatureBundleDetails.getJsonObj
),
pathParams: pathParams,
headerParams: headerParams,
queryParams: queryParams
});
try {
const response = await retrier.makeServiceCall(
this._httpClient,
request,
this.targetService,
operationName,
apiReferenceLink
);
const sdkResponse = composeResponse({
responseObject: <responses.SetFeatureBundleResponse>{},
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;
}
}

/**
* Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
*
Expand Down
22 changes: 22 additions & 0 deletions lib/analytics/lib/model/analytics-instance-summary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,28 @@ export interface AnalyticsInstanceSummary {
*
*/
"serviceUrl"?: string;
/**
* Defined tags for this resource. Each key is predefined and scoped to a
* namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
* <p>
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
*
*/
"definedTags"?: { [key: string]: { [key: string]: any } };
/**
* 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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
* <p>
Example: {@code {\"Department\": \"Finance\"}}
*
*/
"freeformTags"?: { [key: string]: string };
/**
* System tags for this resource. These predefined keys are scoped to namespaces.
* Example: {@code {\"orcl-cloud\": {\"key\": \"value\"}}}
*
*/
"systemTags"?: { [key: string]: { [key: string]: any } };
/**
* The date and time the instance was created, in the format defined by RFC3339.
* <p>
Expand Down
18 changes: 17 additions & 1 deletion lib/analytics/lib/model/analytics-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ Example: {@code {\"Department\": \"Finance\"}}
*/
"freeformTags"?: { [key: string]: string };
/**
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
* System tags for this resource. These predefined keys are scoped to namespaces.
* Example: {@code {\"orcl-cloud\": {\"key\": \"value\"}}}
*
*/
"systemTags"?: { [key: string]: { [key: string]: any } };
/**
* OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
*
*/
"kmsKeyId"?: string;
Expand All @@ -112,6 +118,16 @@ Example: {@code 2016-08-25T21:10:29.600Z}
*
*/
"timeUpdated"?: Date;
/**
* The feature set of an Analytics instance.
*
*/
"featureBundle"?: model.FeatureBundle;
/**
* Identity domain OCID.
*
*/
"domainId"?: string;
}

export namespace AnalyticsInstance {
Expand Down
6 changes: 4 additions & 2 deletions lib/analytics/lib/model/capacity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ import common = require("oci-common");
export interface Capacity {
/**
* The capacity model to use.
* Accepted values are:
* OLPU_COUNT, USER_COUNT
*
*/
"capacityType": model.CapacityType;
/**
* The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the
* number of CPUs, amount of memory or other resources allocated to the instance.
* The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).
* This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
*/
"capacityValue": number;
Expand Down
17 changes: 16 additions & 1 deletion lib/analytics/lib/model/create-analytics-instance-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,25 @@ Example: {@code {\"Department\": \"Finance\"}}
*/
"freeformTags"?: { [key: string]: string };
/**
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
* OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
*
*/
"kmsKeyId"?: string;
/**
* domain id for which the user is authorized.
*
*/
"domainId"?: string;
/**
* user name of the authorized user.
*
*/
"adminUser"?: string;
/**
* The feature set of an Analytics instance.
*
*/
"featureBundle"?: model.FeatureBundle;
}

export namespace CreateAnalyticsInstanceDetails {
Expand Down
42 changes: 42 additions & 0 deletions lib/analytics/lib/model/feature-bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Analytics API
* Analytics API.

* OpenAPI spec version: 20190331
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2024, 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");

/**
* Feature Bundle Enum.
*
**/
export enum FeatureBundle {
FawPaid = "FAW_PAID",
FawFree = "FAW_FREE",
EeEmbedded = "EE_EMBEDDED",
SeEmbedded = "SE_EMBEDDED",

/**
* 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 FeatureBundle {
export function getJsonObj(obj: FeatureBundle): FeatureBundle {
return obj;
}
export function getDeserializedJsonObj(obj: FeatureBundle): FeatureBundle {
return obj;
}
}
4 changes: 4 additions & 0 deletions lib/analytics/lib/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ import * as CreatePrivateAccessChannelDetails from "./create-private-access-chan
export import CreatePrivateAccessChannelDetails = CreatePrivateAccessChannelDetails.CreatePrivateAccessChannelDetails;
import * as CreateVanityUrlDetails from "./create-vanity-url-details";
export import CreateVanityUrlDetails = CreateVanityUrlDetails.CreateVanityUrlDetails;
import * as FeatureBundle from "./feature-bundle";
export import FeatureBundle = FeatureBundle.FeatureBundle;
import * as FeatureSet from "./feature-set";
export import FeatureSet = FeatureSet.FeatureSet;
import * as LicenseType from "./license-type";
Expand All @@ -50,6 +52,8 @@ import * as PrivateSourceScanHost from "./private-source-scan-host";
export import PrivateSourceScanHost = PrivateSourceScanHost.PrivateSourceScanHost;
import * as ScaleAnalyticsInstanceDetails from "./scale-analytics-instance-details";
export import ScaleAnalyticsInstanceDetails = ScaleAnalyticsInstanceDetails.ScaleAnalyticsInstanceDetails;
import * as SetFeatureBundleDetails from "./set-feature-bundle-details";
export import SetFeatureBundleDetails = SetFeatureBundleDetails.SetFeatureBundleDetails;
import * as SetKmsKeyDetails from "./set-kms-key-details";
export import SetKmsKeyDetails = SetKmsKeyDetails.SetKmsKeyDetails;
import * as SortBy from "./sort-by";
Expand Down
41 changes: 41 additions & 0 deletions lib/analytics/lib/model/set-feature-bundle-details.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* Analytics API
* Analytics API.

* OpenAPI spec version: 20190331
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2024, 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");

/**
* Input payload for the feature set of an Analytics instance.
*
*/
export interface SetFeatureBundleDetails {
/**
* The feature set of an Analytics instance.
*
*/
"featureBundle"?: model.FeatureBundle;
}

export namespace SetFeatureBundleDetails {
export function getJsonObj(obj: SetFeatureBundleDetails): object {
const jsonObj = { ...obj, ...{} };

return jsonObj;
}
export function getDeserializedJsonObj(obj: SetFeatureBundleDetails): object {
const jsonObj = { ...obj, ...{} };

return jsonObj;
}
}
2 changes: 2 additions & 0 deletions lib/analytics/lib/request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ import * as ListWorkRequestsRequest from "./list-work-requests-request";
export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest;
import * as ScaleAnalyticsInstanceRequest from "./scale-analytics-instance-request";
export import ScaleAnalyticsInstanceRequest = ScaleAnalyticsInstanceRequest.ScaleAnalyticsInstanceRequest;
import * as SetFeatureBundleRequest from "./set-feature-bundle-request";
export import SetFeatureBundleRequest = SetFeatureBundleRequest.SetFeatureBundleRequest;
import * as SetKmsKeyRequest from "./set-kms-key-request";
export import SetKmsKeyRequest = SetKmsKeyRequest.SetKmsKeyRequest;
import * as StartAnalyticsInstanceRequest from "./start-analytics-instance-request";
Expand Down
Loading