Skip to content

Commit

Permalink
Releasing version 71.2.0
Browse files Browse the repository at this point in the history
Releasing version 71.2.0
  • Loading branch information
oci-dex-release-bot authored Sep 26, 2023
2 parents fcb1876 + 5dffb13 commit cbaeb77
Show file tree
Hide file tree
Showing 85 changed files with 2,188 additions and 226 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

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

## 71.2.0 - 2023-09-26
### Added
- Support for listing compute performances and storage performances in Database service
- Support for private endpoints for external key managers in Key Management service
- Support for additional parameters in vaults and keys for external key managers in Key Management service
- Support for domains while creating integration instances in Oracle Integration Cloud service

## 71.1.0 - 2023-09-12
### Added
- Support for SQL tuning sets in Database Management service
Expand Down
2 changes: 1 addition & 1 deletion Common/Src/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Oci.Common
public class Version
{
public static string MAJOR = "71";
public static string MINOR = "1";
public static string MINOR = "2";
public static string PATCH = "0";
public static string TAG = "";

Expand Down
4 changes: 3 additions & 1 deletion Database/models/ExadataInfrastructure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ public enum AdditionalComputeSystemModelEnum {
[EnumMember(Value = "X8M")]
X8M,
[EnumMember(Value = "X9M")]
X9M
X9M,
[EnumMember(Value = "X10M")]
X10M
};

/// <value>
Expand Down
4 changes: 3 additions & 1 deletion Database/models/ExadataInfrastructureSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ public enum AdditionalComputeSystemModelEnum {
[EnumMember(Value = "X8M")]
X8M,
[EnumMember(Value = "X9M")]
X9M
X9M,
[EnumMember(Value = "X10M")]
X10M
};

/// <value>
Expand Down
4 changes: 3 additions & 1 deletion Database/models/UpdateExadataInfrastructureDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ public enum AdditionalComputeSystemModelEnum {
[EnumMember(Value = "X8M")]
X8M,
[EnumMember(Value = "X9M")]
X9M
X9M,
[EnumMember(Value = "X10M")]
X10M
};

/// <value>
Expand Down
10 changes: 10 additions & 0 deletions Integration/models/CreateIntegrationInstanceDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,15 @@ public enum ShapeEnum {
[JsonConverter(typeof(StringEnumConverter))]
public System.Nullable<ShapeEnum> Shape { get; set; }

/// <value>
/// The OCID of the identity domain, that will be used to determine the
/// corresponding Idcs Stripe and create an Idcs application within the stripe.
/// This parameter is mutually exclusive with parameter: idcsAt, i.e only one of
/// two parameters should be specified.
///
/// </value>
[JsonProperty(PropertyName = "domainId")]
public string DomainId { get; set; }

}
}
357 changes: 357 additions & 0 deletions Keymanagement/EkmClient.cs

Large diffs are not rendered by default.

102 changes: 102 additions & 0 deletions Keymanagement/EkmPaginators.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/*
* Copyright (c) 2020, 2023, 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.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.


using System.Collections.Generic;
using System.Threading;
using Oci.KeymanagementService.Requests;
using Oci.KeymanagementService.Responses;
using Oci.KeymanagementService.Models;

namespace Oci.KeymanagementService
{
/// <summary>
/// Collection of helper methods that can be used to provide an enumerator interface
/// to any list operations of Ekm where multiple pages of data may be fetched.
/// Two styles of enumerators are supported:
/// <list type="bullet">
/// <item>
/// <description>
/// Enumerating over the Response objects returned by the list operation. These are referred to as ResponseEnumerators, and the methods are suffixed with ResponseEnumerator. For example: listUsersResponseEnumerator.
/// </description>
/// </item>
/// <item>
/// <description>
/// Enumerating over the resources/records being listed. These are referred to as RecordEnumerators, and the methods are suffixed with RecordEnumerator. For example: listUsersRecordEnumerator.
/// </description>
/// </item>
/// </list>
/// These enumerators abstract away the need to write code to manually handle pagination via looping and using the page tokens.
/// They will automatically fetch more data from the service when required.
/// <br/>
/// <br/>
/// As an example, if we were using the ListUsers operation in IdentityService, then the iterator returned by calling a
/// ResponseEnumerator method would iterate over the ListUsersResponse objects returned by each ListUsers call, whereas the enumerables
/// returned by calling a RecordEnumerator method would iterate over the User records and we don't have to deal with ListUsersResponse objects at all.
/// In either case, pagination will be automatically handled so we can iterate until there are no more responses or no more resources/records available.
/// </summary>
public class EkmPaginators
{
private readonly EkmClient client;

public EkmPaginators(EkmClient client)
{
this.client = client;
}

/// <summary>
/// Creates a new enumerable which will iterate over the responses received from the ListEkmsPrivateEndpoints operation. This enumerable
/// will fetch more data from the server as needed.
/// </summary>
/// <param name="request">The request object containing the details to send</param>
/// <param name="retryConfiguration">The configuration for retrying, may be null</param>
/// <param name="cancellationToken">The cancellation token object</param>
/// <returns>The enumerator, which supports a simple iteration over a collection of a specified type</returns>
public IEnumerable<ListEkmsPrivateEndpointsResponse> ListEkmsPrivateEndpointsResponseEnumerator(ListEkmsPrivateEndpointsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
{
return new Common.Utils.ResponseEnumerable<ListEkmsPrivateEndpointsRequest, ListEkmsPrivateEndpointsResponse>(
response => response.OpcNextPage,
input =>
{
if (!string.IsNullOrEmpty(input))
{
request.Page = input;
}
return request;
},
request => client.ListEkmsPrivateEndpoints(request, retryConfiguration, cancellationToken)
);
}

/// <summary>
/// Creates a new enumerable which will iterate over the EkmsPrivateEndpointSummary objects
/// contained in responses from the ListEkmsPrivateEndpoints operation. This enumerable will fetch more data from the server as needed.
/// </summary>
/// <param name="request">The request object containing the details to send</param>
/// <param name="retryConfiguration">The configuration for retrying, may be null</param>
/// <param name="cancellationToken">The cancellation token object</param>
/// <returns>The enumerator, which supports a simple iteration over a collection of a specified type</returns>
public IEnumerable<EkmsPrivateEndpointSummary> ListEkmsPrivateEndpointsRecordEnumerator(ListEkmsPrivateEndpointsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
{
return new Common.Utils.ResponseRecordEnumerable<ListEkmsPrivateEndpointsRequest, ListEkmsPrivateEndpointsResponse, EkmsPrivateEndpointSummary>(
response => response.OpcNextPage,
input =>
{
if (!string.IsNullOrEmpty(input))
{
request.Page = input;
}
return request;
},
request => client.ListEkmsPrivateEndpoints(request, retryConfiguration, cancellationToken),
response => response.Items
);
}

}
}
58 changes: 58 additions & 0 deletions Keymanagement/EkmWaiters.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
* Copyright (c) 2020, 2023, 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.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.

using System.Linq;
using Oci.Common.Waiters;
using Oci.KeymanagementService.Models;
using Oci.KeymanagementService.Requests;
using Oci.KeymanagementService.Responses;

namespace Oci.KeymanagementService
{
/// <summary>
/// Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Ekm.
/// </summary>
public class EkmWaiters
{
private readonly EkmClient client;

public EkmWaiters(EkmClient client)
{
this.client = client;
}

/// <summary>
/// Creates a waiter using default wait configuration.
/// </summary>
/// <param name="request">Request to send.</param>
/// <param name="targetStates">Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states</param>
/// <returns>a new Oci.common.Waiter instance</returns>
public Waiter<GetEkmsPrivateEndpointRequest, GetEkmsPrivateEndpointResponse> ForEkmsPrivateEndpoint(GetEkmsPrivateEndpointRequest request, params EkmsPrivateEndpoint.LifecycleStateEnum[] targetStates)
{
return this.ForEkmsPrivateEndpoint(request, WaiterConfiguration.DefaultWaiterConfiguration, targetStates);
}

/// <summary>
/// Creates a waiter using the provided configuration.
/// </summary>
/// <param name="request">Request to send.</param>
/// <param name="config">Wait Configuration</param>
/// <param name="targetStates">Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states</param>
/// <returns>a new Oci.common.Waiter instance</returns>
public Waiter<GetEkmsPrivateEndpointRequest, GetEkmsPrivateEndpointResponse> ForEkmsPrivateEndpoint(GetEkmsPrivateEndpointRequest request, WaiterConfiguration config, params EkmsPrivateEndpoint.LifecycleStateEnum[] targetStates)
{
var agent = new WaiterAgent<GetEkmsPrivateEndpointRequest, GetEkmsPrivateEndpointResponse>(
request,
request => client.GetEkmsPrivateEndpoint(request),
response => targetStates.Contains(response.EkmsPrivateEndpoint.LifecycleState.Value),
targetStates.Contains(EkmsPrivateEndpoint.LifecycleStateEnum.Deleted)
);
return new Waiter<GetEkmsPrivateEndpointRequest, GetEkmsPrivateEndpointResponse>(config, agent);
}
}
}
27 changes: 15 additions & 12 deletions Keymanagement/KmsCryptoClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public async Task<DecryptResponse> Decrypt(DecryptRequest request, RetryConfigur
ServiceName = "KmsCrypto",
OperationName = "Decrypt",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/DecryptedData/Decrypt",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand Down Expand Up @@ -156,7 +156,7 @@ public async Task<EncryptResponse> Encrypt(EncryptRequest request, RetryConfigur
ServiceName = "KmsCrypto",
OperationName = "Encrypt",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/EncryptedData/Encrypt",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand All @@ -176,9 +176,10 @@ public async Task<EncryptResponse> Encrypt(EncryptRequest request, RetryConfigur
}

/// <summary>
/// Exports a specific version of a master encryption key according to the details of the request. For their protection,
/// keys that you create and store on a hardware security module (HSM) can never leave the HSM. You can only export keys
/// Exports a specific version of a master encryption key according to the details of the request. For their protection,
/// keys that you create and store on a hardware security module (HSM) can never leave the HSM. You can only export keys
/// stored on the server. For export, the key version is encrypted by an RSA public key that you provide.
/// This operation is not supported for keys having protection mode &#x60;EXTERNAL&#x60;.
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
Expand Down Expand Up @@ -215,7 +216,7 @@ public async Task<ExportKeyResponse> ExportKey(ExportKeyRequest request, RetryCo
ServiceName = "KmsCrypto",
OperationName = "ExportKey",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/ExportedKeyData/ExportKey",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand Down Expand Up @@ -272,7 +273,7 @@ public async Task<GenerateDataEncryptionKeyResponse> GenerateDataEncryptionKey(G
ServiceName = "KmsCrypto",
OperationName = "GenerateDataEncryptionKey",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/GeneratedKey/GenerateDataEncryptionKey",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand All @@ -292,9 +293,10 @@ public async Task<GenerateDataEncryptionKeyResponse> GenerateDataEncryptionKey(G
}

/// <summary>
/// Creates a digital signature for a message or message digest by using the private key of a public-private key pair,
/// also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/api/#/en/key/latest/VerifiedData/Verify)
/// Creates a digital signature for a message or message digest by using the private key of a public-private key pair,
/// also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/api/#/en/key/latest/VerifiedData/Verify)
/// operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key.
/// This operation is not supported for keys having protection mode &#x60;EXTERNAL&#x60;.
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
Expand Down Expand Up @@ -331,7 +333,7 @@ public async Task<SignResponse> Sign(SignRequest request, RetryConfiguration ret
ServiceName = "KmsCrypto",
OperationName = "Sign",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/SignedData/Sign",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand All @@ -351,9 +353,10 @@ public async Task<SignResponse> Sign(SignRequest request, RetryConfiguration ret
}

/// <summary>
/// Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/api/#/en/key/latest/SignedData/Sign) operation
/// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the
/// Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/api/#/en/key/latest/SignedData/Sign) operation
/// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the
/// digital signature outside of the service, you can do so by using the public key of the asymmetric key.
/// This operation is not supported for keys having protection mode &#x60;EXTERNAL&#x60;.
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
Expand Down Expand Up @@ -390,7 +393,7 @@ public async Task<VerifyResponse> Verify(VerifyRequest request, RetryConfigurati
ServiceName = "KmsCrypto",
OperationName = "Verify",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/key/release/VerifiedData/Verify",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
Expand Down
Loading

0 comments on commit cbaeb77

Please sign in to comment.