Skip to content

Commit cc1bf2a

Browse files
Releasing version 2.59.1
Releasing version 2.59.1
2 parents adc32db + b8b12b1 commit cc1bf2a

File tree

214 files changed

+4767
-138
lines changed

Some content is hidden

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

214 files changed

+4767
-138
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ 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.59.1 - 2023-05-09
7+
### Added
8+
- Support for the Access Governance service
9+
- Support for creating, updating, listing and downloading one-off patches in the Database service
10+
- Support for changing disaster recovery configurations of remote autonomous databases in the Database service
11+
- Support for scheduling automatic backups in the Database service
12+
- Support for provisioning Software-Defined Data Centers (SDDCs) using standard bare metal shapes, with Block Storage as the datastore, in the VMWare Solution service
13+
- Support for parity with the configuration options of the Compute service in the Compute Autoscaling service
14+
15+
616
## 2.59.0 - 2023-05-02
717
### Added
818
- Support for calling Oracle Cloud Infrastructure services in the `eu-jovanovac-1` region

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,4 @@ export import queue = require("oci-queue");
209209
export import recovery = require("oci-recovery");
210210
export import vbsinst = require("oci-vbsinst");
211211
export import identitydomains = require("oci-identitydomains");
212+
export import accessgovernancecp = require("oci-accessgovernancecp");

lib/accessgovernancecp/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 Access Governance Cp Service
3+
4+
This module enables you to write code to manage resources for Access Governance Cp 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-accessgovernancecp
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/accessgovernancecp/index.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* Access Governance APIs
3+
* Use the Oracle Access Governance API to create, view, and manage GovernanceInstances.
4+
* OpenAPI spec version: 20220518
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as requests from "./lib/request";
15+
import * as models from "./lib/model";
16+
import * as responses from "./lib/response";
17+
import * as client from "./lib/client";
18+
import * as accessgovernancecp_waiter from "./lib/accessgovernancecp-waiter";
19+
20+
export { models };
21+
export { requests };
22+
export { responses };
23+
export import AccessGovernanceCPClient = client.AccessGovernanceCPClient;
24+
export import AccessGovernanceCPWaiter = accessgovernancecp_waiter.AccessGovernanceCPWaiter;
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* Access Governance APIs
3+
* Use the Oracle Access Governance API to create, view, and manage GovernanceInstances.
4+
* OpenAPI spec version: 20220518
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as serviceRequests from "./request";
15+
import * as serviceResponses from "./response";
16+
import * as models from "./model";
17+
import { AccessGovernanceCPClient } from "./client";
18+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
19+
20+
export class AccessGovernanceCPWaiter {
21+
public constructor(
22+
private client: AccessGovernanceCPClient,
23+
private readonly config?: WaiterConfiguration
24+
) {}
25+
26+
/**
27+
* Waits forGovernanceInstance till it reaches any of the provided states
28+
*
29+
* @param request the request to send
30+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
31+
* @return response returns GetGovernanceInstanceResponse | null (null in case of 404 response)
32+
*/
33+
public async forGovernanceInstance(
34+
request: serviceRequests.GetGovernanceInstanceRequest,
35+
...targetStates: models.InstanceLifecycleState[]
36+
): Promise<serviceResponses.GetGovernanceInstanceResponse | null> {
37+
return genericTerminalConditionWaiter(
38+
this.config,
39+
() => this.client.getGovernanceInstance(request),
40+
response => targetStates.includes(response.governanceInstance.lifecycleState!),
41+
targetStates.includes(models.InstanceLifecycleState.Deleted)
42+
);
43+
}
44+
}

0 commit comments

Comments
 (0)