Skip to content

Commit 077304b

Browse files
committed
Releasing version 2.3.1
1 parent 4db9029 commit 077304b

File tree

232 files changed

+6258
-451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+6258
-451
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 2.3.1 - 2021-09-14
7+
### Added
8+
- Support for serviceHostKeyFingerprint property for InstanceConsoleConnection in Core service
9+
- Support for Shielded Instances in Core service
10+
- Support for ML Jobs in the Data Science service
11+
612
## 2.3.0 - 2021-09-07
713
### Added
814
- Support for terraform advanced options (detailed log level, refresh, and parallelism) on jobs in the Resource Manager service

lib/aianomalydetection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bastion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bastion",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Bastion Service",
55
"repository": {
66
"type": "git",

lib/bds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bds",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

lib/blockchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-blockchain",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Blockchain Service",
55
"repository": {
66
"type": "git",

lib/budget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-budget",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Budget Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudguard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudguard",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/computeinstanceagent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-computeinstanceagent",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-containerengine",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "OCI NodeJS client for Container Engine",
55
"repository": {
66
"type": "git",

lib/core/lib/client.ts

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4435,6 +4435,64 @@ export class ComputeClient {
44354435
throw Error("Waiters do not exist. Please create waiters.");
44364436
}
44374437

4438+
/**
4439+
* Accept the changes to the PCR values in the Measured Boot Report.
4440+
* @param AcceptShieldedIntegrityPolicyRequest
4441+
* @return AcceptShieldedIntegrityPolicyResponse
4442+
* @throws OciError when an error occurs
4443+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.ts.html |here} to see how to use AcceptShieldedIntegrityPolicy API.
4444+
*/
4445+
public async acceptShieldedIntegrityPolicy(
4446+
acceptShieldedIntegrityPolicyRequest: requests.AcceptShieldedIntegrityPolicyRequest
4447+
): Promise<responses.AcceptShieldedIntegrityPolicyResponse> {
4448+
if (this.logger)
4449+
this.logger.debug("Calling operation ComputeClient#acceptShieldedIntegrityPolicy.");
4450+
const pathParams = {
4451+
"{instanceId}": acceptShieldedIntegrityPolicyRequest.instanceId
4452+
};
4453+
4454+
const queryParams = {};
4455+
4456+
let headerParams = {
4457+
"Content-Type": common.Constants.APPLICATION_JSON,
4458+
"opc-request-id": acceptShieldedIntegrityPolicyRequest.opcRequestId,
4459+
"if-match": acceptShieldedIntegrityPolicyRequest.ifMatch,
4460+
"opc-retry-token": acceptShieldedIntegrityPolicyRequest.opcRetryToken
4461+
};
4462+
4463+
const retrier = GenericRetrier.createPreferredRetrier(
4464+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {},
4465+
acceptShieldedIntegrityPolicyRequest.retryConfiguration
4466+
);
4467+
if (this.logger) retrier.logger = this.logger;
4468+
const request = await composeRequest({
4469+
baseEndpoint: this._endpoint,
4470+
defaultHeaders: this._defaultHeaders,
4471+
path: "/instances/{instanceId}/actions/acceptShieldedIntegrityPolicy",
4472+
method: "POST",
4473+
pathParams: pathParams,
4474+
headerParams: headerParams,
4475+
queryParams: queryParams
4476+
});
4477+
try {
4478+
const response = await retrier.makeServiceCall(this._httpClient, request);
4479+
const sdkResponse = composeResponse({
4480+
responseObject: <responses.AcceptShieldedIntegrityPolicyResponse>{},
4481+
responseHeaders: [
4482+
{
4483+
value: response.headers.get("opc-request-id"),
4484+
key: "opcRequestId",
4485+
dataType: "string"
4486+
}
4487+
]
4488+
});
4489+
4490+
return sdkResponse;
4491+
} catch (err) {
4492+
throw err;
4493+
}
4494+
}
4495+
44384496
/**
44394497
* Adds a shape to the compatible shapes list for the image.
44404498
* @param AddImageShapeCompatibilityEntryRequest
@@ -7270,6 +7328,70 @@ See [Object Storage URLs](https://docs.cloud.oracle.com/iaas/Content/Compute/Tas
72707328
}
72717329
}
72727330

7331+
/**
7332+
* Gets the measured boot report for this Shielded Instance.
7333+
* @param GetMeasuredBootReportRequest
7334+
* @return GetMeasuredBootReportResponse
7335+
* @throws OciError when an error occurs
7336+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetMeasuredBootReport.ts.html |here} to see how to use GetMeasuredBootReport API.
7337+
*/
7338+
public async getMeasuredBootReport(
7339+
getMeasuredBootReportRequest: requests.GetMeasuredBootReportRequest
7340+
): Promise<responses.GetMeasuredBootReportResponse> {
7341+
if (this.logger) this.logger.debug("Calling operation ComputeClient#getMeasuredBootReport.");
7342+
const pathParams = {
7343+
"{instanceId}": getMeasuredBootReportRequest.instanceId
7344+
};
7345+
7346+
const queryParams = {};
7347+
7348+
let headerParams = {
7349+
"Content-Type": common.Constants.APPLICATION_JSON,
7350+
"opc-request-id": getMeasuredBootReportRequest.opcRequestId
7351+
};
7352+
7353+
const retrier = GenericRetrier.createPreferredRetrier(
7354+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {},
7355+
getMeasuredBootReportRequest.retryConfiguration
7356+
);
7357+
if (this.logger) retrier.logger = this.logger;
7358+
const request = await composeRequest({
7359+
baseEndpoint: this._endpoint,
7360+
defaultHeaders: this._defaultHeaders,
7361+
path: "/instances/{instanceId}/measuredBootReport",
7362+
method: "GET",
7363+
pathParams: pathParams,
7364+
headerParams: headerParams,
7365+
queryParams: queryParams
7366+
});
7367+
try {
7368+
const response = await retrier.makeServiceCall(this._httpClient, request);
7369+
const sdkResponse = composeResponse({
7370+
responseObject: <responses.GetMeasuredBootReportResponse>{},
7371+
body: await response.json(),
7372+
bodyKey: "measuredBootReport",
7373+
bodyModel: model.MeasuredBootReport,
7374+
type: "model.MeasuredBootReport",
7375+
responseHeaders: [
7376+
{
7377+
value: response.headers.get("etag"),
7378+
key: "etag",
7379+
dataType: "string"
7380+
},
7381+
{
7382+
value: response.headers.get("opc-request-id"),
7383+
key: "opcRequestId",
7384+
dataType: "string"
7385+
}
7386+
]
7387+
});
7388+
7389+
return sdkResponse;
7390+
} catch (err) {
7391+
throw err;
7392+
}
7393+
}
7394+
72737395
/**
72747396
* Gets the information for the specified VNIC attachment.
72757397
*
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/**
2+
* Core Services API
3+
* API covering the [Networking](/iaas/Content/Network/Concepts/overview.htm),
4+
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
5+
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services. Use this API
6+
to manage resources such as virtual cloud networks (VCNs), compute instances, and
7+
block storage volumes.
8+
9+
* OpenAPI spec version: 20160918
10+
*
11+
*
12+
* NOTE: This class is auto generated by OracleSDKGenerator.
13+
* Do not edit the class manually.
14+
*
15+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
16+
* 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.
17+
*/
18+
19+
import * as model from "../model";
20+
import common = require("oci-common");
21+
22+
/**
23+
* The platform configuration used when launching a bare metal instance with the AMD Rome platform.
24+
*
25+
*/
26+
export interface AmdRomeBmLaunchInstancePlatformConfig extends model.LaunchInstancePlatformConfig {
27+
"type": string;
28+
}
29+
30+
export namespace AmdRomeBmLaunchInstancePlatformConfig {
31+
export function getJsonObj(
32+
obj: AmdRomeBmLaunchInstancePlatformConfig,
33+
isParentJsonObj?: boolean
34+
): object {
35+
const jsonObj = {
36+
...(isParentJsonObj
37+
? obj
38+
: (model.LaunchInstancePlatformConfig.getJsonObj(
39+
obj
40+
) as AmdRomeBmLaunchInstancePlatformConfig)),
41+
...{}
42+
};
43+
44+
return jsonObj;
45+
}
46+
export const type = "AMD_ROME_BM";
47+
export function getDeserializedJsonObj(
48+
obj: AmdRomeBmLaunchInstancePlatformConfig,
49+
isParentJsonObj?: boolean
50+
): object {
51+
const jsonObj = {
52+
...(isParentJsonObj
53+
? obj
54+
: (model.LaunchInstancePlatformConfig.getDeserializedJsonObj(
55+
obj
56+
) as AmdRomeBmLaunchInstancePlatformConfig)),
57+
...{}
58+
};
59+
60+
return jsonObj;
61+
}
62+
}

0 commit comments

Comments
 (0)