Skip to content

Commit 095dec0

Browse files
authored
Releasing version 1.23.0
Releasing version 1.23.0
2 parents 417c4a2 + e86749b commit 095dec0

File tree

427 files changed

+10697
-1408
lines changed

Some content is hidden

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

427 files changed

+10697
-1408
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ 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+
## 1.23.0 - 2021-07-13
7+
### Added
8+
- Support for the AI Anomaly Detection service
9+
- Support for retrieving a DNS zone as a zone file in the DNS service
10+
- Support for querying manual adjustments in the Usage service
11+
- Support for searching Marketplace listings in the Marketplace service
12+
- Support for new cluster type 'ODH' in the Big Data service
13+
- Support for availability domain as an optional parameter when creating VLANs in the Networking service
14+
- Support for search domain type on DHCP options, to support multi-level domain search in the Networking service
15+
16+
### Breaking Changes
17+
- Removed the property `tsig` from `ExternalMaster` model under the DNS service
18+
- Removed the model `TSIG` from the DNS service
19+
- Removed the models `CreateCustomTableDetails`, `CustomTableCollection`, `CreateScheduleReportDetails`, `CustomTableCollection`,`CustomTableSummary`, `CustomTable`, `SavedScheduleReport`, `ScheduleReportCollection`, `ScheduleReportSummary`, `ScheduleReport`, `UpdateCustomTableDetails`, `UpdateScheduleReportDetails` from the Usage service
20+
621
## 1.22.1 - 2021-07-06
722
### Added
823
- Support for order activation in the Organizations service

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,4 @@ export import bastion = require("oci-bastion");
165165
export import genericartifactscontent = require("oci-genericartifactscontent");
166166
export import jms = require("oci-jms");
167167
export import devops = require("oci-devops");
168+
export import aianomalydetection = require("oci-aianomalydetection");

lib/aianomalydetection/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# OCI NodeJS client for Ai Anomaly Detection Service
3+
4+
This module enables you to write code to manage resources for Ai Anomaly Detection Service.
5+
6+
## Requirements
7+
8+
To use this module, you must have the following:
9+
10+
- An Oracle Cloud Infrastructure account.
11+
- 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).
12+
- 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)
13+
14+
## Installing
15+
16+
Use the following command to install this module:
17+
18+
```
19+
npm install oci-aianomalydetection
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/aianomalydetection/index.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Oracle Cloud AI Services API
3+
* OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven,
4+
pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts.
5+
This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market.
6+
7+
* OpenAPI spec version: 20210101
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
14+
* 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.
15+
*/
16+
17+
import * as requests from "./lib/request";
18+
import * as models from "./lib/model";
19+
import * as responses from "./lib/response";
20+
import * as client from "./lib/client";
21+
import * as anomalydetection_waiter from "./lib/anomalydetection-waiter";
22+
23+
export { models };
24+
export { requests };
25+
export { responses };
26+
export import AnomalyDetectionClient = client.AnomalyDetectionClient;
27+
export import AnomalyDetectionWaiter = anomalydetection_waiter.AnomalyDetectionWaiter;
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
/**
2+
* Oracle Cloud AI Services API
3+
* OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven,
4+
pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts.
5+
This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market.
6+
7+
* OpenAPI spec version: 20210101
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
14+
* 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.
15+
*/
16+
17+
import * as serviceRequests from "./request";
18+
import * as serviceResponses from "./response";
19+
import * as models from "./model";
20+
import { AnomalyDetectionClient } from "./client";
21+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
22+
23+
export class AnomalyDetectionWaiter {
24+
public constructor(
25+
private client: AnomalyDetectionClient,
26+
private readonly config?: WaiterConfiguration
27+
) {}
28+
29+
/**
30+
* Waits forAiPrivateEndpoint till it reaches any of the provided states
31+
*
32+
* @param request the request to send
33+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
34+
* @return response returns GetAiPrivateEndpointResponse | null (null in case of 404 response)
35+
*/
36+
public async forAiPrivateEndpoint(
37+
request: serviceRequests.GetAiPrivateEndpointRequest,
38+
...targetStates: models.AiPrivateEndpoint.LifecycleState[]
39+
): Promise<serviceResponses.GetAiPrivateEndpointResponse | null> {
40+
return genericTerminalConditionWaiter(
41+
this.config,
42+
() => this.client.getAiPrivateEndpoint(request),
43+
response => targetStates.includes(response.aiPrivateEndpoint.lifecycleState!),
44+
targetStates.includes(models.AiPrivateEndpoint.LifecycleState.Deleted)
45+
);
46+
}
47+
48+
/**
49+
* Waits forDataAsset till it reaches any of the provided states
50+
*
51+
* @param request the request to send
52+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
53+
* @return response returns GetDataAssetResponse | null (null in case of 404 response)
54+
*/
55+
public async forDataAsset(
56+
request: serviceRequests.GetDataAssetRequest,
57+
...targetStates: models.DataAsset.LifecycleState[]
58+
): Promise<serviceResponses.GetDataAssetResponse | null> {
59+
return genericTerminalConditionWaiter(
60+
this.config,
61+
() => this.client.getDataAsset(request),
62+
response => targetStates.includes(response.dataAsset.lifecycleState!),
63+
targetStates.includes(models.DataAsset.LifecycleState.Deleted)
64+
);
65+
}
66+
67+
/**
68+
* Waits forModel till it reaches any of the provided states
69+
*
70+
* @param request the request to send
71+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
72+
* @return response returns GetModelResponse | null (null in case of 404 response)
73+
*/
74+
public async forModel(
75+
request: serviceRequests.GetModelRequest,
76+
...targetStates: models.Model.LifecycleState[]
77+
): Promise<serviceResponses.GetModelResponse | null> {
78+
return genericTerminalConditionWaiter(
79+
this.config,
80+
() => this.client.getModel(request),
81+
response => targetStates.includes(response.model.lifecycleState!),
82+
targetStates.includes(models.Model.LifecycleState.Deleted)
83+
);
84+
}
85+
86+
/**
87+
* Waits forProject till it reaches any of the provided states
88+
*
89+
* @param request the request to send
90+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
91+
* @return response returns GetProjectResponse | null (null in case of 404 response)
92+
*/
93+
public async forProject(
94+
request: serviceRequests.GetProjectRequest,
95+
...targetStates: models.Project.LifecycleState[]
96+
): Promise<serviceResponses.GetProjectResponse | null> {
97+
return genericTerminalConditionWaiter(
98+
this.config,
99+
() => this.client.getProject(request),
100+
response => targetStates.includes(response.project.lifecycleState!),
101+
targetStates.includes(models.Project.LifecycleState.Deleted)
102+
);
103+
}
104+
105+
/**
106+
* Waits forWorkRequest
107+
*
108+
* @param request the request to send
109+
* @return response returns GetWorkRequestResponse
110+
*/
111+
public async forWorkRequest(
112+
request: serviceRequests.GetWorkRequestRequest
113+
): Promise<serviceResponses.GetWorkRequestResponse> {
114+
return genericWaiter(
115+
this.config,
116+
() => this.client.getWorkRequest(request),
117+
response => (response.workRequest.timeFinished ? true : false)
118+
);
119+
}
120+
}

0 commit comments

Comments
 (0)