Skip to content

Commit

Permalink
Releasing version 78.2.0
Browse files Browse the repository at this point in the history
Releasing version 78.2.0
  • Loading branch information
oci-dex-release-bot committed Jan 30, 2024
2 parents 0969ae8 + 3bdda85 commit b198650
Show file tree
Hide file tree
Showing 253 changed files with 9,806 additions and 165 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.

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

## 78.2.0 - 2024-01-30
### Added
Support for OCI Control Center service
Support for giro value set for address rules in the Oracle Store Platform service
Support for giro in tax information for subscriptions in the Oracle Store Platform service
Support for REST connectivity with Oath2 in the Data Integration service
Support for resolver rules limit increase in the DNS service
Support for named credentials in the Database Management service

## 78.1.0 - 2024-01-23
### Added
- Support for the Generative AI service
Expand Down
1,145 changes: 1,145 additions & 0 deletions Capacitymanagement/CapacityManagementClient.cs

Large diffs are not rendered by default.

347 changes: 347 additions & 0 deletions Capacitymanagement/CapacityManagementPaginators.cs

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions Capacitymanagement/CapacityManagementWaiters.cs
@@ -0,0 +1,114 @@
/*
* 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.
*/

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

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

namespace Oci.CapacitymanagementService
{
/// <summary>
/// Contains collection of helper methods to produce Oci.Common.Waiters for different resources of CapacityManagement.
/// </summary>
public class CapacityManagementWaiters
{
private readonly CapacityManagementClient client;

public CapacityManagementWaiters(CapacityManagementClient 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<GetOccAvailabilityCatalogRequest, GetOccAvailabilityCatalogResponse> ForOccAvailabilityCatalog(GetOccAvailabilityCatalogRequest request, params OccAvailabilityCatalog.LifecycleStateEnum[] targetStates)
{
return this.ForOccAvailabilityCatalog(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<GetOccAvailabilityCatalogRequest, GetOccAvailabilityCatalogResponse> ForOccAvailabilityCatalog(GetOccAvailabilityCatalogRequest request, WaiterConfiguration config, params OccAvailabilityCatalog.LifecycleStateEnum[] targetStates)
{
var agent = new WaiterAgent<GetOccAvailabilityCatalogRequest, GetOccAvailabilityCatalogResponse>(
request,
request => client.GetOccAvailabilityCatalog(request),
response => targetStates.Contains(response.OccAvailabilityCatalog.LifecycleState.Value),
targetStates.Contains(OccAvailabilityCatalog.LifecycleStateEnum.Deleted)
);
return new Waiter<GetOccAvailabilityCatalogRequest, GetOccAvailabilityCatalogResponse>(config, agent);
}
/// <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<GetOccCapacityRequestRequest, GetOccCapacityRequestResponse> ForOccCapacityRequest(GetOccCapacityRequestRequest request, params OccCapacityRequest.LifecycleStateEnum[] targetStates)
{
return this.ForOccCapacityRequest(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<GetOccCapacityRequestRequest, GetOccCapacityRequestResponse> ForOccCapacityRequest(GetOccCapacityRequestRequest request, WaiterConfiguration config, params OccCapacityRequest.LifecycleStateEnum[] targetStates)
{
var agent = new WaiterAgent<GetOccCapacityRequestRequest, GetOccCapacityRequestResponse>(
request,
request => client.GetOccCapacityRequest(request),
response => targetStates.Contains(response.OccCapacityRequest.LifecycleState.Value),
targetStates.Contains(OccCapacityRequest.LifecycleStateEnum.Deleted)
);
return new Waiter<GetOccCapacityRequestRequest, GetOccCapacityRequestResponse>(config, agent);
}
/// <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<GetOccCustomerGroupRequest, GetOccCustomerGroupResponse> ForOccCustomerGroup(GetOccCustomerGroupRequest request, params OccCustomerGroup.LifecycleStateEnum[] targetStates)
{
return this.ForOccCustomerGroup(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<GetOccCustomerGroupRequest, GetOccCustomerGroupResponse> ForOccCustomerGroup(GetOccCustomerGroupRequest request, WaiterConfiguration config, params OccCustomerGroup.LifecycleStateEnum[] targetStates)
{
var agent = new WaiterAgent<GetOccCustomerGroupRequest, GetOccCustomerGroupResponse>(
request,
request => client.GetOccCustomerGroup(request),
response => targetStates.Contains(response.OccCustomerGroup.LifecycleState.Value),
targetStates.Contains(OccCustomerGroup.LifecycleStateEnum.Deleted)
);
return new Waiter<GetOccCustomerGroupRequest, GetOccCustomerGroupResponse>(config, agent);
}
}
}
19 changes: 19 additions & 0 deletions Capacitymanagement/OCI.DotNetSDK.Capacitymanagement.csproj
@@ -0,0 +1,19 @@

<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\General.targets" />
<PropertyGroup>
<ProjectGuid>{429928E3-2759-439D-BD5A-C0F170003953}</ProjectGuid>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<PackageId>OCI.DotNetSDK.Capacitymanagement</PackageId>
<RootNamespace>Oci.CapacitymanagementService</RootNamespace>
<Authors>Oracle Cloud Infrastructure</Authors>
<Company>Oracle</Company>
<PackageTags>Oracle;OCI;Oracle Cloud;OracleCloud;oci-sdk;OracleCloudInfrastructure;Capacitymanagement</PackageTags>
<Description>Oracle Cloud Infrastructure Cloud Capacity Management Service</Description>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Common\OCI.DotNetSDK.Common.csproj"/>
</ItemGroup>
</Project>
20 changes: 20 additions & 0 deletions Capacitymanagement/README.md
@@ -0,0 +1,20 @@

# OCI .NET client for Capacity Management Service

This module enables you to write code to manage resources for Capacity Management Service.

## Requirements

To use this module, you must have the following:

- An Oracle Cloud Infrastructure account.
- 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).
- 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/javasdkconfig.htm)

## Installing

Use the following command to install this module:

```
dotnet add package OCI.DotNetSDK.Capacitymanagement
```
99 changes: 99 additions & 0 deletions Capacitymanagement/models/CreateOccAvailabilityCatalogDetails.cs
@@ -0,0 +1,99 @@
/*
* 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.
*/

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


using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;


namespace Oci.CapacitymanagementService.Models
{
/// <summary>
/// Details about the create request for the availability catalog.
/// </summary>
public class CreateOccAvailabilityCatalogDetails
{

/// <value>
/// The OCID of the customer group.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "OccCustomerGroupId is required.")]
[JsonProperty(PropertyName = "occCustomerGroupId")]
public string OccCustomerGroupId { get; set; }

/// <value>
/// The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
[JsonConverter(typeof(StringEnumConverter))]
public System.Nullable<Namespace> Namespace { get; set; }

/// <value>
/// Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }

/// <value>
/// The base 64 encoded string corresponding to the catalog file contents.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Base64EncodedCatalogDetails is required.")]
[JsonProperty(PropertyName = "base64EncodedCatalogDetails")]
public string Base64EncodedCatalogDetails { get; set; }

[JsonProperty(PropertyName = "metadataDetails")]
public MetadataDetails MetadataDetails { get; set; }

/// <value>
/// The display name of the availability catalog.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }

/// <value>
/// Additional information about the availability catalog.
/// </value>
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

/// <value>
/// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
/// Example: {&quot;bar-key&quot;: &quot;value&quot;}
/// </value>
[JsonProperty(PropertyName = "freeformTags")]
public System.Collections.Generic.Dictionary<string, string> FreeformTags { get; set; }

/// <value>
/// Defined tags for this resource. Each key is predefined and scoped to a namespace.
/// Example: {&quot;foo-namespace&quot;: {&quot;bar-key&quot;: &quot;value&quot;}}
/// </value>
[JsonProperty(PropertyName = "definedTags")]
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> DefinedTags { get; set; }

}
}

0 comments on commit b198650

Please sign in to comment.