Skip to content

Commit

Permalink
Releasing version 99.0.0
Browse files Browse the repository at this point in the history
Releasing version 99.0.0
  • Loading branch information
oci-dex-release-bot authored Nov 5, 2024
2 parents dfe2604 + 0705e0b commit 8633024
Show file tree
Hide file tree
Showing 72 changed files with 2,688 additions and 190 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ The format is based on Keep a [Changelog](http://keepachangelog.com/).
### Breaking Changes
- The property `Credentials` was made required in the model `CreateDbSystemDetails` in the PostgreSQL service

## 99.0.0 - 2024-11-05
### Added
- Support for calling Oracle Cloud Infrastructure services in the `ap-seoul-2` region
- Support for calling Oracle Cloud Infrastructure services in the `ap-suwon-1` region
- Support for calling Oracle Cloud Infrastructure services in the `ap-chuncheon-2` region
- Support for MFA Enablement v2 in the Identity Domains service
- Support for starting, stopping and updating min/max executor count for SQL Endpoints in the Data Flow service
- Support for customer message in the Customer Incident Management Service
- Support for REJECTED limitStatus in the Customer Incident Management Service

### Breaking Changes
- The operations `GetCsiNumber` and `GetStatus` were removed from the `IncidentClient` in the Customer Incident Management Service
- The property `ServiceCategories` was removed from the model `IncidentResourceType` in the Customer Incident Management Service
- The properties `ServiceCategory` and `IssueType` were removed from the model `ServiceCategories` in the Customer Incident Management Service

## 98.1.0 - 2024-10-29
### Added
- Support for L3IP (Layer 3 IP) listeners in the Network Load Balancing service
Expand Down
140 changes: 23 additions & 117 deletions Cims/IncidentClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ public IncidentClient(IBasicAuthenticationDetailsProvider authenticationDetailsP
}

/// <summary>
/// Operation to create a support ticket.
/// Creates a support ticket in the specified tenancy.
/// For more information, see [Creating Support Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down Expand Up @@ -126,63 +128,9 @@ public async Task<CreateIncidentResponse> CreateIncident(CreateIncidentRequest r
}

/// <summary>
/// Fetches csi number of the user.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/cims/GetCsiNumber.cs.html">here</a> to see an example of how to use GetCsiNumber API.</example>
public async Task<GetCsiNumberResponse> GetCsiNumber(GetCsiNumberRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called getCsiNumber");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/v2/incidents/getCsiNumber".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "Incident",
OperationName = "GetCsiNumber",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<GetCsiNumberResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"GetCsiNumber failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// Gets details about the specified support ticket.
/// Gets the specified support ticket.
/// For more information, see [Getting Details for a Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down Expand Up @@ -238,63 +186,15 @@ public async Task<GetIncidentResponse> GetIncident(GetIncidentRequest request, R
}

/// <summary>
/// Gets the status of the service.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/cims/GetStatus.cs.html">here</a> to see an example of how to use GetStatus API.</example>
public async Task<GetStatusResponse> GetStatus(GetStatusRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called getStatus");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/v2/incidents/status".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "Incident",
OperationName = "GetStatus",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<GetStatusResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"GetStatus failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports.
/// Depending on the selected &#x60;productType&#x60;, either
/// lists available products (service groups, services, service categories, and subcategories) for technical support tickets or
/// lists limits and current usage for limit increase tickets.
/// This operation is called during creation of technical support and limit increase tickets.
/// For more information about listing products, see
/// [Listing Products for Support Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm).
/// For more information about listing limits, see
/// [Listing Limits for Service Limit Increase Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down Expand Up @@ -350,7 +250,9 @@ public async Task<ListIncidentResourceTypesResponse> ListIncidentResourceTypes(L
}

/// <summary>
/// Returns the list of support tickets raised by the tenancy.
/// Lists support tickets for the specified tenancy.
/// For more information, see [Listing Support Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down Expand Up @@ -406,7 +308,9 @@ public async Task<ListIncidentsResponse> ListIncidents(ListIncidentsRequest requ
}

/// <summary>
/// Updates the specified support ticket&#39;s information.
/// Updates the specified support ticket.
/// For more information, see [Updating Support Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down Expand Up @@ -463,6 +367,8 @@ public async Task<UpdateIncidentResponse> UpdateIncident(UpdateIncidentRequest r

/// <summary>
/// Checks whether the requested user is valid.
/// For more information, see [Validating a User](https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm).
///
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
Expand Down
10 changes: 8 additions & 2 deletions Cims/models/ActivityItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ActivityItem : Item
public string Comments { get; set; }

/// <value>
/// The time when the activity was created, in milliseconds since epoch time.
/// The time when the activity was created, in seconds since epoch time.
/// </value>
/// <remarks>
/// Required
Expand All @@ -42,7 +42,7 @@ public class ActivityItem : Item
public System.Nullable<int> TimeCreated { get; set; }

/// <value>
/// The time when the activity was updated, in milliseconds since epoch time.
/// The time when the activity was updated, in seconds since epoch time.
/// </value>
/// <remarks>
/// Required
Expand Down Expand Up @@ -141,6 +141,12 @@ public enum ItemStatusEnum {
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<ItemStatusEnum> ItemStatus { get; set; }

/// <value>
/// attachmentID for the ItemType Attachments only for Alloy realm.
/// </value>
[JsonProperty(PropertyName = "attachmentID")]
public string AttachmentID { get; set; }

[JsonProperty(PropertyName = "type")]
private readonly string type = "activity";
}
Expand Down
1 change: 1 addition & 0 deletions Cims/models/CreateAccountItemDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Oci.CimsService.Models
{
/// <summary>
/// Details about the issue that the account support ticket relates to. Avoid entering confidential information.
/// For information about `ACCOUNT` support tickets, see [Creating a Billing Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
///
/// </summary>
public class CreateAccountItemDetails : CreateItemDetails
Expand Down
9 changes: 8 additions & 1 deletion Cims/models/CreateIncident.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ public class CreateIncident
public string Csi { get; set; }

/// <value>
/// The kind of support ticket, such as a technical support request or a limit increase request.
/// The kind of support ticket (type of support request).
/// For information about `ACCOUNT` support tickets, see
/// [Creating a Billing Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
/// For information about `LIMIT` support tickets, see
/// [Creating a Service Limit Increase Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
/// For information about `TECH` support tickets, see
/// [Creating a Technical Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
///
/// </value>
/// <remarks>
/// Required
Expand Down
6 changes: 5 additions & 1 deletion Cims/models/CreateLimitItemDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ namespace Oci.CimsService.Models
{
/// <summary>
/// Details about the service limit increase request. Avoid entering confidential information.
/// For information about `LIMIT` support tickets, see [Creating a Service Limit Increase Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
///
/// </summary>
public class CreateLimitItemDetails : CreateItemDetails
{
Expand Down Expand Up @@ -49,7 +51,9 @@ public enum LimitStatusEnum {
[EnumMember(Value = "PARTIALLY_APPROVED")]
PartiallyApproved,
[EnumMember(Value = "NOT_APPROVED")]
NotApproved
NotApproved,
[EnumMember(Value = "REJECTED")]
Rejected
};

/// <value>
Expand Down
1 change: 1 addition & 0 deletions Cims/models/CreateTechSupportItemDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Oci.CimsService.Models
{
/// <summary>
/// Details about the issue that the technical support ticket relates to. Avoid entering confidential information.
/// For information about `TECH` support tickets, see [Creating a Technical Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
///
/// </summary>
public class CreateTechSupportItemDetails : CreateItemDetails
Expand Down
9 changes: 8 additions & 1 deletion Cims/models/CreateUserDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,14 @@ public class CreateUserDetails
public string OrganizationName { get; set; }

/// <value>
/// The kind of support ticket, such as a technical support request or a limit increase request.
/// The kind of support ticket (type of support request).
/// For information about `ACCOUNT` support tickets, see
/// [Creating a Billing Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
/// For information about `LIMIT` support tickets, see
/// [Creating a Service Limit Increase Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
/// For information about `TECH` support tickets, see
/// [Creating a Technical Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
///
/// </value>
/// <remarks>
/// Required
Expand Down
9 changes: 8 additions & 1 deletion Cims/models/Incident.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ public class Incident
public IncidentType IncidentType { get; set; }

/// <value>
/// The kind of support ticket, such as a technical support request or a limit increase request.
/// The kind of support ticket (type of support request).
/// For information about `ACCOUNT` support tickets, see
/// [Creating a Billing Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
/// For information about `LIMIT` support tickets, see
/// [Creating a Service Limit Increase Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
/// For information about `TECH` support tickets, see
/// [Creating a Technical Support Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
///
/// </value>
[JsonProperty(PropertyName = "problemType")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
Expand Down
10 changes: 8 additions & 2 deletions Cims/models/IncidentResourceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ public class IncidentResourceType
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

/// <value>
/// Indicates whether multi-subscription is supported
/// </value>
[JsonProperty(PropertyName = "isSubscriptionsSupported")]
public System.Nullable<bool> IsSubscriptionsSupported { get; set; }

/// <value>
/// The service category list.
/// </value>
Expand All @@ -64,8 +70,8 @@ public class IncidentResourceType
/// <value>
/// The service categories list for MOS Taxonomy.
/// </value>
[JsonProperty(PropertyName = "serviceCategories")]
public System.Collections.Generic.List<ServiceCategories> ServiceCategories { get; set; }
[JsonProperty(PropertyName = "services")]
public System.Collections.Generic.List<ServiceCategories> Services { get; set; }

}
}
Loading

0 comments on commit 8633024

Please sign in to comment.