diff --git a/CHANGELOG.md b/CHANGELOG.md index 476809a2c..f2c8f0a7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,22 @@ 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 +## 100.0.0 - 2024-11-19 +### Added + - Support for optional parameters for unified auditing in the Database service + - Support for user groups for creating technical requests in the Support Management service + - Support for additional checksum algorithms (SHA-256, SHA-384, CRC32C) in the Object Storage service + - Support for single Read Only (RO) endpoint for the read replicas in the PostgreSQL service + - Support for exascale database vaults in the Database service + - Support for virtual machine clusters with database vaults in the Database service + - Support for N3-Gi version in the Database service + +### Breaking Changes + - The model `ServiceCategories` was removed in the Customer Incident Management Service + - The property `SubComponents` was removed from the `SubCategories` model in the Customer Incident Management Service + - The property `LimitStatus` and the enum `LimitStatusEnum` were removed from the model `CreateLimitItemDetails` in the Customer Incident Management Service + - The type of property `Services` was changed to list of `Services` from a list of `ServiceCategories` in the Customer Incident Management Service + ## 99.1.0 - 2024-11-12 ### Added - Support for calling Oracle Cloud Infrastructure services in the `me-alain-1` region diff --git a/Cims/models/CmosUserGroupInfo.cs b/Cims/models/CmosUserGroupInfo.cs new file mode 100644 index 000000000..a0ae7966f --- /dev/null +++ b/Cims/models/CmosUserGroupInfo.cs @@ -0,0 +1,40 @@ +/* + * 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.CimsService.Models +{ + /// + /// Identifier and name of the technical support request's user group (`userGroupId` and `userGroupName`). + /// + /// + public class CmosUserGroupInfo + { + + /// + /// Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupId")] + public string UserGroupId { get; set; } + + /// + /// Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupName")] + public string UserGroupName { get; set; } + + } +} diff --git a/Cims/models/CreateIncident.cs b/Cims/models/CreateIncident.cs index f89ed053a..d7f940a5c 100644 --- a/Cims/models/CreateIncident.cs +++ b/Cims/models/CreateIncident.cs @@ -41,12 +41,19 @@ public class CreateIncident /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [JsonProperty(PropertyName = "csi")] public string Csi { get; set; } + /// + /// Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupId")] + public string UserGroupId { get; set; } + /// /// The kind of support ticket (type of support request). /// For information about `ACCOUNT` support tickets, see diff --git a/Cims/models/CreateLimitItemDetails.cs b/Cims/models/CreateLimitItemDetails.cs index f3b2d3f29..7186335de 100644 --- a/Cims/models/CreateLimitItemDetails.cs +++ b/Cims/models/CreateLimitItemDetails.cs @@ -40,28 +40,6 @@ public class CreateLimitItemDetails : CreateItemDetails /// [JsonProperty(PropertyName = "requestedLimit")] public System.Nullable RequestedLimit { get; set; } - /// - /// - /// The current status of the request. - /// - /// - public enum LimitStatusEnum { - [EnumMember(Value = "APPROVED")] - Approved, - [EnumMember(Value = "PARTIALLY_APPROVED")] - PartiallyApproved, - [EnumMember(Value = "NOT_APPROVED")] - NotApproved, - [EnumMember(Value = "REJECTED")] - Rejected - }; - - /// - /// The current status of the request. - /// - [JsonProperty(PropertyName = "limitStatus")] - [JsonConverter(typeof(StringEnumConverter))] - public System.Nullable LimitStatus { get; set; } [JsonProperty(PropertyName = "type")] private readonly string type = "limit"; diff --git a/Cims/models/CreateUserDetails.cs b/Cims/models/CreateUserDetails.cs index a0a2f1ee3..0e19c52af 100644 --- a/Cims/models/CreateUserDetails.cs +++ b/Cims/models/CreateUserDetails.cs @@ -54,40 +54,24 @@ public class CreateUserDetails /// /// CSI associated with the user. /// - /// - /// Required - /// - [Required(ErrorMessage = "Csi is required.")] [JsonProperty(PropertyName = "csi")] public string Csi { get; set; } /// /// Contact number of the user. /// - /// - /// Required - /// - [Required(ErrorMessage = "Phone is required.")] [JsonProperty(PropertyName = "phone")] public string Phone { get; set; } /// /// Timezone of the user. /// - /// - /// Required - /// - [Required(ErrorMessage = "Timezone is required.")] [JsonProperty(PropertyName = "timezone")] public string Timezone { get; set; } /// /// Organization of the user. /// - /// - /// Required - /// - [Required(ErrorMessage = "OrganizationName is required.")] [JsonProperty(PropertyName = "organizationName")] public string OrganizationName { get; set; } diff --git a/Cims/models/Incident.cs b/Cims/models/Incident.cs index 75ef27025..50090293c 100644 --- a/Cims/models/Incident.cs +++ b/Cims/models/Incident.cs @@ -49,6 +49,49 @@ public class Incident [JsonProperty(PropertyName = "incidentType")] public IncidentType IncidentType { get; set; } + /// + /// Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupId")] + public string UserGroupId { get; set; } + + /// + /// Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupName")] + public string UserGroupName { get; set; } + + /// + /// Technical support type (`TECH`) only: The identifier of the support request's primary contact (`primaryContactPartyName`) in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "primaryContactPartyId")] + public string PrimaryContactPartyId { get; set; } + + /// + /// Technical support type (`TECH`) only: The name of the support request's primary contact in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "primaryContactPartyName")] + public string PrimaryContactPartyName { get; set; } + + /// + /// Technical support type (`TECH`) only: Allows update of the support request in My Oracle Cloud Support portal, + /// when the user has write permission to the support request's user group. + /// + /// + [JsonProperty(PropertyName = "isWritePermitted")] + public System.Nullable IsWritePermitted { get; set; } + + /// + /// Technical support type (`TECH`) only: Message indicating the user group (`userGroupId`) that was auto-selected for a new support request. This message appears when no user group was specified in the create request for a new technical support request. + /// + /// + [JsonProperty(PropertyName = "warnMessage")] + public string WarnMessage { get; set; } + /// /// The kind of support ticket (type of support request). /// For information about `ACCOUNT` support tickets, see diff --git a/Cims/models/IncidentResourceType.cs b/Cims/models/IncidentResourceType.cs index e63af05b6..4fec93665 100644 --- a/Cims/models/IncidentResourceType.cs +++ b/Cims/models/IncidentResourceType.cs @@ -71,7 +71,7 @@ public class IncidentResourceType /// The service categories list for MOS Taxonomy. /// [JsonProperty(PropertyName = "services")] - public System.Collections.Generic.List Services { get; set; } + public System.Collections.Generic.List Services { get; set; } } } diff --git a/Cims/models/IncidentSummary.cs b/Cims/models/IncidentSummary.cs index 8d942c887..e6d9f477b 100644 --- a/Cims/models/IncidentSummary.cs +++ b/Cims/models/IncidentSummary.cs @@ -49,6 +49,49 @@ public class IncidentSummary [JsonProperty(PropertyName = "incidentType")] public IncidentResourceType IncidentType { get; set; } + /// + /// Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupId")] + public string UserGroupId { get; set; } + + /// + /// Technical support type (`TECH`) only: Name of the support request's user group in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "userGroupName")] + public string UserGroupName { get; set; } + + /// + /// Technical support type (`TECH`) only: The identifier of the support request's primary contact (`primaryContactPartyName`) in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "primaryContactPartyId")] + public string PrimaryContactPartyId { get; set; } + + /// + /// Technical support type (`TECH`) only: The name of the support request's primary contact in My Oracle Cloud Support portal. + /// + /// + [JsonProperty(PropertyName = "primaryContactPartyName")] + public string PrimaryContactPartyName { get; set; } + + /// + /// Technical support type (`TECH`) only: Allows update of the support request in My Oracle Cloud Support portal, + /// when the user has write permission to the support request's user group. + /// + /// + [JsonProperty(PropertyName = "isWritePermitted")] + public System.Nullable IsWritePermitted { get; set; } + + /// + /// Technical support type (`TECH`) only: Message indicating the user group (`userGroupId`) that was auto-selected for a new support request. This message appears when no user group was specified in the create request for a new technical support request. + /// + /// + [JsonProperty(PropertyName = "warnMessage")] + public string WarnMessage { get; set; } + /// /// The kind of support ticket (type of support request). /// For information about `ACCOUNT` support tickets, see diff --git a/Cims/models/LifecycleDetails.cs b/Cims/models/LifecycleDetails.cs index b4fc5b2a1..7dc3f7fd7 100644 --- a/Cims/models/LifecycleDetails.cs +++ b/Cims/models/LifecycleDetails.cs @@ -23,6 +23,8 @@ public enum LifecycleDetails { PendingWithOracle, [EnumMember(Value = "PENDING_WITH_CUSTOMER")] PendingWithCustomer, + [EnumMember(Value = "PENDING_WITH_SUPPORT")] + PendingWithSupport, [EnumMember(Value = "CLOSE_REQUESTED")] CloseRequested, [EnumMember(Value = "CLOSED")] diff --git a/Cims/models/LimitItem.cs b/Cims/models/LimitItem.cs index 54b848fed..63d6973d0 100644 --- a/Cims/models/LimitItem.cs +++ b/Cims/models/LimitItem.cs @@ -65,7 +65,7 @@ public enum LimitStatusEnum { public System.Nullable LimitStatus { get; set; } /// - /// Message to customer for partial approval and rejected limit requests + /// The message to customer for partially approved and rejected limit requests /// [JsonProperty(PropertyName = "customerMessage")] public string CustomerMessage { get; set; } diff --git a/Cims/models/Services.cs b/Cims/models/Services.cs new file mode 100644 index 000000000..ba0aae4aa --- /dev/null +++ b/Cims/models/Services.cs @@ -0,0 +1,43 @@ +/* + * 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.CimsService.Models +{ + /// + /// List of Service Categories of a Service for MOS Taxonomy. + /// + public class Services + { + + /// + /// Service Category list. + /// + [JsonProperty(PropertyName = "service")] + public System.Collections.Generic.Dictionary Service { get; set; } + + /// + /// Schema of a Service Category. + /// + [JsonProperty(PropertyName = "schema")] + public string Schema { get; set; } + + /// + /// The service categories list for MOS Taxonomy. + /// + [JsonProperty(PropertyName = "serviceCategories")] + public System.Collections.Generic.List ServiceCategories { get; set; } + + } +} diff --git a/Cims/models/SubCategories.cs b/Cims/models/SubCategories.cs index 51295081a..1bae8e895 100644 --- a/Cims/models/SubCategories.cs +++ b/Cims/models/SubCategories.cs @@ -42,8 +42,8 @@ public class SubCategories /// /// The sub component list for MOS Taxonomy. /// - [JsonProperty(PropertyName = "subComponents")] - public System.Collections.Generic.List SubComponents { get; set; } + [JsonProperty(PropertyName = "subCategories")] + public System.Collections.Generic.List SubCategoriesProp { get; set; } } } diff --git a/Cims/models/ValidationResponse.cs b/Cims/models/ValidationResponse.cs index d1c07326f..210c14c97 100644 --- a/Cims/models/ValidationResponse.cs +++ b/Cims/models/ValidationResponse.cs @@ -17,6 +17,7 @@ namespace Oci.CimsService.Models { /// /// The validation response returned when checking whether the requested user is valid. + /// /// public class ValidationResponse { @@ -27,5 +28,12 @@ public class ValidationResponse [JsonProperty(PropertyName = "isValidUser")] public System.Nullable IsValidUser { get; set; } + /// + /// Technical support type (`TECH`) only: Identifier and name of the support request's user group (`userGroupId` and `userGroupName`). + /// + /// + [JsonProperty(PropertyName = "writePermittedUserGroupInfos")] + public System.Collections.Generic.List WritePermittedUserGroupInfos { get; set; } + } } diff --git a/Cims/requests/GetIncidentRequest.cs b/Cims/requests/GetIncidentRequest.cs index fd2738855..8ac6744ab 100644 --- a/Cims/requests/GetIncidentRequest.cs +++ b/Cims/requests/GetIncidentRequest.cs @@ -47,7 +47,7 @@ public class GetIncidentRequest : Oci.Common.IOciRequest /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "csi")] diff --git a/Cims/requests/ListIncidentResourceTypesRequest.cs b/Cims/requests/ListIncidentResourceTypesRequest.cs index fe86c118c..060ab6b2d 100644 --- a/Cims/requests/ListIncidentResourceTypesRequest.cs +++ b/Cims/requests/ListIncidentResourceTypesRequest.cs @@ -79,7 +79,7 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "csi")] diff --git a/Cims/requests/ListIncidentsRequest.cs b/Cims/requests/ListIncidentsRequest.cs index 31bd63802..e43b3b250 100644 --- a/Cims/requests/ListIncidentsRequest.cs +++ b/Cims/requests/ListIncidentsRequest.cs @@ -31,7 +31,7 @@ public class ListIncidentsRequest : Oci.Common.IOciRequest /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "csi")] diff --git a/Cims/requests/UpdateIncidentRequest.cs b/Cims/requests/UpdateIncidentRequest.cs index b0ef2c055..8e2bfd19d 100644 --- a/Cims/requests/UpdateIncidentRequest.cs +++ b/Cims/requests/UpdateIncidentRequest.cs @@ -51,7 +51,7 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "csi")] diff --git a/Cims/requests/ValidateUserRequest.cs b/Cims/requests/ValidateUserRequest.cs index e74e27535..3246c2922 100644 --- a/Cims/requests/ValidateUserRequest.cs +++ b/Cims/requests/ValidateUserRequest.cs @@ -21,7 +21,7 @@ public class ValidateUserRequest : Oci.Common.IOciRequest /// /// The Customer Support Identifier (CSI) number associated with the support account. - /// The CSI is required for technical support tickets and optional for limits and billing tickets. + /// The CSI is optional for all support request types. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "csi")] diff --git a/Common/Src/Version.cs b/Common/Src/Version.cs index 273812016..c57527e9f 100644 --- a/Common/Src/Version.cs +++ b/Common/Src/Version.cs @@ -7,8 +7,8 @@ namespace Oci.Common { public class Version { - public static string MAJOR = "99"; - public static string MINOR = "1"; + public static string MAJOR = "100"; + public static string MINOR = "0"; public static string PATCH = "0"; public static string TAG = ""; diff --git a/Database/DatabaseClient.cs b/Database/DatabaseClient.cs index 6486628e4..1571d8de7 100644 --- a/Database/DatabaseClient.cs +++ b/Database/DatabaseClient.cs @@ -2378,6 +2378,63 @@ public async Task ConfigureAutonomo } } + /// + /// Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. + /// + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// The completion option for this operation. Optional. + /// A response object containing details about the completed operation + /// Click here to see an example of how to use ConfigureExascaleExadataInfrastructure API. + public async Task ConfigureExascaleExadataInfrastructure(ConfigureExascaleExadataInfrastructureRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead) + { + logger.Trace("Called configureExascaleExadataInfrastructure"); + Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/exadataInfrastructures/{exadataInfrastructureId}/actions/configureExascale".Trim('/'))); + HttpMethod method = new HttpMethod("POST"); + 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 = "Database", + OperationName = "ConfigureExascaleExadataInfrastructure", + RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}", + ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadataInfrastructure/ConfigureExascaleExadataInfrastructure", + UserAgent = this.GetUserAgent() + }; + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails); + logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms"); + return Converter.FromHttpResponseMessage(responseMessage); + } + catch (OciException e) + { + logger.Error(e); + throw; + } + catch (Exception e) + { + logger.Error($"ConfigureExascaleExadataInfrastructure failed with error: {e.Message}"); + throw; + } + } + /// /// This operation updates SaaS administrative user configuration of the Autonomous Database. /// diff --git a/Database/DatabaseWaiters.cs b/Database/DatabaseWaiters.cs index 5524681a3..bd493911c 100644 --- a/Database/DatabaseWaiters.cs +++ b/Database/DatabaseWaiters.cs @@ -1468,6 +1468,42 @@ public Waiter + /// Creates a waiter using default wait configuration. + /// + /// Request to send. + /// Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states + /// a new Oci.common.Waiter instance + public Waiter ForConfigureExascaleExadataInfrastructure(ConfigureExascaleExadataInfrastructureRequest request, params WorkrequestsService.Models.WorkRequest.StatusEnum[] targetStates) + { + return this.ForConfigureExascaleExadataInfrastructure(request, WaiterConfiguration.DefaultWaiterConfiguration, targetStates); + } + + /// + /// Creates a waiter using the provided configuration. + /// + /// Request to send. + /// Wait Configuration + /// Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states + /// a new Oci.common.Waiter instance + public Waiter ForConfigureExascaleExadataInfrastructure(ConfigureExascaleExadataInfrastructureRequest request, WaiterConfiguration config, params WorkrequestsService.Models.WorkRequest.StatusEnum[] targetStates) + { + return new Waiter(() => + { + var response = client.ConfigureExascaleExadataInfrastructure(request).Result; + if (response.OpcWorkRequestId == null) + { + return response; + } + var getWorkRequestRequest = new Oci.WorkrequestsService.Requests.GetWorkRequestRequest + { + WorkRequestId = response.OpcWorkRequestId + }; + workRequestClient.Waiters.ForWorkRequest(getWorkRequestRequest, config, targetStates).Execute(); + return response; + }); + } + /// /// Creates a waiter using default wait configuration. /// diff --git a/Database/models/AutonomousDatabase.cs b/Database/models/AutonomousDatabase.cs index 9dec886ac..6f2b9bca0 100644 --- a/Database/models/AutonomousDatabase.cs +++ b/Database/models/AutonomousDatabase.cs @@ -277,7 +277,7 @@ public enum ComputeModelEnum { /// /// The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - /// For an Autonomous Database Serverless instance, the 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. + /// The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. /// /// [JsonProperty(PropertyName = "computeCount")] @@ -356,6 +356,7 @@ public enum ComputeModelEnum { /// /// /// The infrastructure type this resource belongs to. + /// /// /// public enum InfrastructureTypeEnum { @@ -370,6 +371,7 @@ public enum InfrastructureTypeEnum { /// /// The infrastructure type this resource belongs to. + /// /// [JsonProperty(PropertyName = "infrastructureType")] [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] @@ -1241,6 +1243,7 @@ public enum DisasterRecoveryRegionTypeEnum { /// /// /// Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. + /// /// /// public enum NetServicesArchitectureEnum { @@ -1255,6 +1258,7 @@ public enum NetServicesArchitectureEnum { /// /// Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. + /// /// [JsonProperty(PropertyName = "netServicesArchitecture")] [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] diff --git a/Database/models/AutonomousDatabaseSummary.cs b/Database/models/AutonomousDatabaseSummary.cs index bfc172306..d6268b687 100644 --- a/Database/models/AutonomousDatabaseSummary.cs +++ b/Database/models/AutonomousDatabaseSummary.cs @@ -279,7 +279,7 @@ public enum ComputeModelEnum { /// /// The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - /// For an Autonomous Database Serverless instance, the 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. + /// The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. /// /// [JsonProperty(PropertyName = "computeCount")] @@ -358,6 +358,7 @@ public enum ComputeModelEnum { /// /// /// The infrastructure type this resource belongs to. + /// /// /// public enum InfrastructureTypeEnum { @@ -372,6 +373,7 @@ public enum InfrastructureTypeEnum { /// /// The infrastructure type this resource belongs to. + /// /// [JsonProperty(PropertyName = "infrastructureType")] [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] @@ -1243,6 +1245,7 @@ public enum DisasterRecoveryRegionTypeEnum { /// /// /// Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. + /// /// /// public enum NetServicesArchitectureEnum { @@ -1257,6 +1260,7 @@ public enum NetServicesArchitectureEnum { /// /// Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. + /// /// [JsonProperty(PropertyName = "netServicesArchitecture")] [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] diff --git a/Database/models/ConfigureExascaleExadataInfrastructureDetails.cs b/Database/models/ConfigureExascaleExadataInfrastructureDetails.cs new file mode 100644 index 000000000..f41b09407 --- /dev/null +++ b/Database/models/ConfigureExascaleExadataInfrastructureDetails.cs @@ -0,0 +1,36 @@ +/* + * 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.DatabaseService.Models +{ + /// + /// The exascale config request details for the Exadata Cloud@Customer infrastructure. + /// + /// + public class ConfigureExascaleExadataInfrastructureDetails + { + + /// + /// Storage size needed for Exascale in GBs. + /// + /// + /// Required + /// + [Required(ErrorMessage = "TotalStorageInGBs is required.")] + [JsonProperty(PropertyName = "totalStorageInGBs")] + public System.Nullable TotalStorageInGBs { get; set; } + + } +} diff --git a/Database/models/CreateAutonomousDatabaseBase.cs b/Database/models/CreateAutonomousDatabaseBase.cs index 12fd922f3..e9bc13a67 100644 --- a/Database/models/CreateAutonomousDatabaseBase.cs +++ b/Database/models/CreateAutonomousDatabaseBase.cs @@ -107,7 +107,7 @@ public enum ComputeModelEnum { /// /// The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - /// For an Autonomous Database Serverless instance, the 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. + /// The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. /// /// [JsonProperty(PropertyName = "computeCount")] diff --git a/Database/models/CreateDbHomeDetails.cs b/Database/models/CreateDbHomeDetails.cs index 3677e4180..48b59e23e 100644 --- a/Database/models/CreateDbHomeDetails.cs +++ b/Database/models/CreateDbHomeDetails.cs @@ -73,5 +73,12 @@ public class CreateDbHomeDetails [JsonProperty(PropertyName = "definedTags")] public System.Collections.Generic.Dictionary> DefinedTags { get; set; } + /// + /// Indicates whether unified auditing is enabled or not + /// + /// + [JsonProperty(PropertyName = "isUnifiedAuditingEnabled")] + public System.Nullable IsUnifiedAuditingEnabled { get; set; } + } } diff --git a/Database/models/CreateDbHomeFromBackupDetails.cs b/Database/models/CreateDbHomeFromBackupDetails.cs index 7a6f43dc1..159110eff 100644 --- a/Database/models/CreateDbHomeFromBackupDetails.cs +++ b/Database/models/CreateDbHomeFromBackupDetails.cs @@ -30,6 +30,13 @@ public class CreateDbHomeFromBackupDetails [JsonProperty(PropertyName = "displayName")] public string DisplayName { get; set; } + /// + /// Indicates whether unified auditing is enabled or not + /// + /// + [JsonProperty(PropertyName = "isUnifiedAuditingEnabled")] + public System.Nullable IsUnifiedAuditingEnabled { get; set; } + /// /// The database software image [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the image to be used to restore a database. /// diff --git a/Database/models/CreateDbHomeFromDatabaseDetails.cs b/Database/models/CreateDbHomeFromDatabaseDetails.cs index b0a20ed2c..f4eb24072 100644 --- a/Database/models/CreateDbHomeFromDatabaseDetails.cs +++ b/Database/models/CreateDbHomeFromDatabaseDetails.cs @@ -37,6 +37,13 @@ public class CreateDbHomeFromDatabaseDetails [JsonProperty(PropertyName = "database")] public CreateDatabaseFromAnotherDatabaseDetails Database { get; set; } + /// + /// Indicates whether unified auditing is enabled or not + /// + /// + [JsonProperty(PropertyName = "isUnifiedAuditingEnabled")] + public System.Nullable IsUnifiedAuditingEnabled { get; set; } + /// /// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. /// For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). diff --git a/Database/models/CreateExascaleDbStorageVaultDetails.cs b/Database/models/CreateExascaleDbStorageVaultDetails.cs index ef823b169..699409d30 100644 --- a/Database/models/CreateExascaleDbStorageVaultDetails.cs +++ b/Database/models/CreateExascaleDbStorageVaultDetails.cs @@ -96,5 +96,11 @@ public class CreateExascaleDbStorageVaultDetails [JsonProperty(PropertyName = "definedTags")] public System.Collections.Generic.Dictionary> DefinedTags { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. + /// + [JsonProperty(PropertyName = "exadataInfrastructureId")] + public string ExadataInfrastructureId { get; set; } + } } diff --git a/Database/models/CreatePluggableDatabaseCreationTypeDetails.cs b/Database/models/CreatePluggableDatabaseCreationTypeDetails.cs index ae9c99baf..006739cad 100644 --- a/Database/models/CreatePluggableDatabaseCreationTypeDetails.cs +++ b/Database/models/CreatePluggableDatabaseCreationTypeDetails.cs @@ -20,13 +20,13 @@ namespace Oci.DatabaseService.Models /// Use `LOCAL_CLONE_PDB` for creating a new PDB using Local Clone on Source Pluggable Database. This will Clone and starts a /// pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the `READ_WRITE` openMode to /// perform the clone operation. - /// isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. + /// isThinClone options are supported for Exadata VM cluster on Exascale Infrastructure, Exadata Cloud@Customer VM Cluster on Exadata Cloud@Customer infrastructure, and Exadata Cloud VM cluster on cloud Exadata infrastructure /// Use `REMOTE_CLONE_PDB` for creating a new PDB using Remote Clone on Source Pluggable Database. This will Clone a pluggable /// database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone /// operation. The source PDB must be in the `READ_WRITE` openMode when performing the clone. /// For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the /// target container database (CDB) to create a remote clone. - /// isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. + /// isThinClone options are supported for Exadata VM cluster on Exascale Infrastructure, Exadata Cloud@Customer VM Cluster on Exadata Cloud@Customer infrastructure, and Exadata Cloud VM cluster on cloud Exadata infrastructure. /// Use `RELOCATE_PDB` for relocating the Pluggable Database from Source CDB and creating it in target CDB. This will relocate a /// pluggable database (PDB) to a different database from the source PDB. The source PDB must be in the `READ_WRITE` openMode when /// performing the relocate. diff --git a/Database/models/CreateVmClusterDetails.cs b/Database/models/CreateVmClusterDetails.cs index c5b969f75..0c0e37002 100644 --- a/Database/models/CreateVmClusterDetails.cs +++ b/Database/models/CreateVmClusterDetails.cs @@ -204,5 +204,11 @@ public enum LicenseModelEnum { [JsonProperty(PropertyName = "cloudAutomationUpdateDetails")] public CloudAutomationUpdateDetails CloudAutomationUpdateDetails { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + /// + [JsonProperty(PropertyName = "exascaleDbStorageVaultId")] + public string ExascaleDbStorageVaultId { get; set; } + } } diff --git a/Database/models/ExadataInfrastructure.cs b/Database/models/ExadataInfrastructure.cs index 07ab9fa5e..ec4d6970e 100644 --- a/Database/models/ExadataInfrastructure.cs +++ b/Database/models/ExadataInfrastructure.cs @@ -422,5 +422,8 @@ public enum MaintenanceSLOStatusEnum { [JsonProperty(PropertyName = "isSchedulingPolicyAssociated")] public System.Nullable IsSchedulingPolicyAssociated { get; set; } + [JsonProperty(PropertyName = "exascaleConfig")] + public ExascaleConfigDetails ExascaleConfig { get; set; } + } } diff --git a/Database/models/ExadataInfrastructureSummary.cs b/Database/models/ExadataInfrastructureSummary.cs index c2635701a..11c56159f 100644 --- a/Database/models/ExadataInfrastructureSummary.cs +++ b/Database/models/ExadataInfrastructureSummary.cs @@ -424,5 +424,8 @@ public enum MaintenanceSLOStatusEnum { [JsonProperty(PropertyName = "isSchedulingPolicyAssociated")] public System.Nullable IsSchedulingPolicyAssociated { get; set; } + [JsonProperty(PropertyName = "exascaleConfig")] + public ExascaleConfigDetails ExascaleConfig { get; set; } + } } diff --git a/Database/models/ExascaleConfigDetails.cs b/Database/models/ExascaleConfigDetails.cs new file mode 100644 index 000000000..2a0f78f89 --- /dev/null +++ b/Database/models/ExascaleConfigDetails.cs @@ -0,0 +1,42 @@ +/* + * 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.DatabaseService.Models +{ + /// + /// The exascale config response details for the Exadata Cloud@Customer infrastructure or cloud Exadata infrastructure . Applies to both Exadata Cloud@Customer instances and Exadata Cloud Service instances. + /// + /// + public class ExascaleConfigDetails + { + + /// + /// Storage size needed for Exascale in GBs. + /// + /// + /// Required + /// + [Required(ErrorMessage = "TotalStorageInGBs is required.")] + [JsonProperty(PropertyName = "totalStorageInGBs")] + public System.Nullable TotalStorageInGBs { get; set; } + + /// + /// Available storage size for Exascale in GBs. + /// + [JsonProperty(PropertyName = "availableStorageInGBs")] + public System.Nullable AvailableStorageInGBs { get; set; } + + } +} diff --git a/Database/models/ExascaleDbStorageVault.cs b/Database/models/ExascaleDbStorageVault.cs index d77e1f112..79e785f49 100644 --- a/Database/models/ExascaleDbStorageVault.cs +++ b/Database/models/ExascaleDbStorageVault.cs @@ -152,6 +152,12 @@ public enum LifecycleStateEnum { [JsonProperty(PropertyName = "definedTags")] public System.Collections.Generic.Dictionary> DefinedTags { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. + /// + [JsonProperty(PropertyName = "exadataInfrastructureId")] + public string ExadataInfrastructureId { get; set; } + /// /// System tags for this resource. Each key is predefined and scoped to a namespace. /// For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). diff --git a/Database/models/ExascaleDbStorageVaultSummary.cs b/Database/models/ExascaleDbStorageVaultSummary.cs index c3c209560..7cd172c42 100644 --- a/Database/models/ExascaleDbStorageVaultSummary.cs +++ b/Database/models/ExascaleDbStorageVaultSummary.cs @@ -144,5 +144,11 @@ public class ExascaleDbStorageVaultSummary [JsonProperty(PropertyName = "vmClusterCount")] public System.Nullable VmClusterCount { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. + /// + [JsonProperty(PropertyName = "exadataInfrastructureId")] + public string ExadataInfrastructureId { get; set; } + } } diff --git a/Database/models/UpdateAutonomousDatabaseDetails.cs b/Database/models/UpdateAutonomousDatabaseDetails.cs index ce48b94d0..a1261093b 100644 --- a/Database/models/UpdateAutonomousDatabaseDetails.cs +++ b/Database/models/UpdateAutonomousDatabaseDetails.cs @@ -90,7 +90,7 @@ public enum ComputeModelEnum { /// /// The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - /// For an Autonomous Database Serverless instance, the 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. + /// The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value. Providing `computeModel` and `computeCount` is the preferred method for both OCPU and ECPU. ///
/// This cannot be updated in parallel with any of the following: licenseModel, databaseEdition, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. /// diff --git a/Database/models/VmCluster.cs b/Database/models/VmCluster.cs index 6e773e830..1c9d562c9 100644 --- a/Database/models/VmCluster.cs +++ b/Database/models/VmCluster.cs @@ -252,5 +252,32 @@ public enum LicenseModelEnum { [JsonProperty(PropertyName = "cloudAutomationUpdateDetails")] public CloudAutomationUpdateDetails CloudAutomationUpdateDetails { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + /// + [JsonProperty(PropertyName = "exascaleDbStorageVaultId")] + public string ExascaleDbStorageVaultId { get; set; } + /// + /// + /// Specifies whether the type of storage management for the VM cluster is ASM or Exascale. + /// + /// + public enum StorageManagementTypeEnum { + /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK. + [EnumMember(Value = null)] + UnknownEnumValue, + [EnumMember(Value = "ASM")] + Asm, + [EnumMember(Value = "EXASCALE")] + Exascale + }; + + /// + /// Specifies whether the type of storage management for the VM cluster is ASM or Exascale. + /// + [JsonProperty(PropertyName = "storageManagementType")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable StorageManagementType { get; set; } + } } diff --git a/Database/models/VmClusterSummary.cs b/Database/models/VmClusterSummary.cs index 303ec4d29..75504c7fe 100644 --- a/Database/models/VmClusterSummary.cs +++ b/Database/models/VmClusterSummary.cs @@ -252,5 +252,32 @@ public enum LicenseModelEnum { [JsonProperty(PropertyName = "cloudAutomationUpdateDetails")] public CloudAutomationUpdateDetails CloudAutomationUpdateDetails { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + /// + [JsonProperty(PropertyName = "exascaleDbStorageVaultId")] + public string ExascaleDbStorageVaultId { get; set; } + /// + /// + /// Specifies whether the type of storage management for the VM cluster is ASM or Exascale. + /// + /// + public enum StorageManagementTypeEnum { + /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK. + [EnumMember(Value = null)] + UnknownEnumValue, + [EnumMember(Value = "ASM")] + Asm, + [EnumMember(Value = "EXASCALE")] + Exascale + }; + + /// + /// Specifies whether the type of storage management for the VM cluster is ASM or Exascale. + /// + [JsonProperty(PropertyName = "storageManagementType")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable StorageManagementType { get; set; } + } } diff --git a/Database/requests/ConfigureExascaleExadataInfrastructureRequest.cs b/Database/requests/ConfigureExascaleExadataInfrastructureRequest.cs new file mode 100644 index 000000000..41587892a --- /dev/null +++ b/Database/requests/ConfigureExascaleExadataInfrastructureRequest.cs @@ -0,0 +1,69 @@ +/* + * 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 Oci.DatabaseService.Models; + +namespace Oci.DatabaseService.Requests +{ + /// + /// Click here to see an example of how to use ConfigureExascaleExadataInfrastructure request. + /// + public class ConfigureExascaleExadataInfrastructureRequest : Oci.Common.IOciRequest + { + + /// + /// The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + /// + /// + /// Required + /// + [Required(ErrorMessage = "ExadataInfrastructureId is required.")] + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Path, "exadataInfrastructureId")] + public string ExadataInfrastructureId { get; set; } + + /// + /// The exascale config details for the Exadata infrastructure with the total storage needed. + /// + /// + /// Required + /// + [Required(ErrorMessage = "ConfigureExascaleExadataInfrastructureDetails is required.")] + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public ConfigureExascaleExadataInfrastructureDetails ConfigureExascaleExadataInfrastructureDetails { get; set; } + + /// + /// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + /// parameter to the value of the etag from a previous GET or POST response for that resource. The resource + /// will be updated or deleted only if the etag you provide matches the resource's current etag value. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "if-match")] + public string IfMatch { get; set; } + + /// + /// Unique identifier for the request. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + /// + /// A token that uniquely identifies a request so it can be retried in case of a timeout or + /// server error without risk of executing that same action again. Retry tokens expire after 24 + /// hours, but can be invalidated before then due to conflicting operations (for example, if a resource + /// has been deleted and purged from the system, then a retry of the original creation request + /// may be rejected). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-retry-token")] + public string OpcRetryToken { get; set; } + } +} diff --git a/Database/requests/ListExascaleDbStorageVaultsRequest.cs b/Database/requests/ListExascaleDbStorageVaultsRequest.cs index bfeaf66e2..8734b5c5a 100644 --- a/Database/requests/ListExascaleDbStorageVaultsRequest.cs +++ b/Database/requests/ListExascaleDbStorageVaultsRequest.cs @@ -97,5 +97,11 @@ public enum SortOrderEnum { ///
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } + + /// + /// A filter to return only list of Vaults that are linked to the exadata infrastructure Id. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "exadataInfrastructureId")] + public string ExadataInfrastructureId { get; set; } } } diff --git a/Database/responses/ConfigureExascaleExadataInfrastructureResponse.cs b/Database/responses/ConfigureExascaleExadataInfrastructureResponse.cs new file mode 100644 index 000000000..9851bf3c6 --- /dev/null +++ b/Database/responses/ConfigureExascaleExadataInfrastructureResponse.cs @@ -0,0 +1,48 @@ +/* + * 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.Runtime.Serialization; +using Oci.DatabaseService.Models; + +namespace Oci.DatabaseService.Responses +{ + public class ConfigureExascaleExadataInfrastructureResponse : Oci.Common.OciResponse + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-work-request-id")] + public string OpcWorkRequestId { get; set; } + + + /// + /// For optimistic concurrency control. See `if-match`. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] + public string Etag { get; set; } + + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + /// a particular request, please provide the request ID. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + /// + /// The returned ExadataInfrastructure instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public ExadataInfrastructure ExadataInfrastructure { get; set; } + + } +} diff --git a/Objectstorage/models/ChecksumAlgorithm.cs b/Objectstorage/models/ChecksumAlgorithm.cs new file mode 100644 index 000000000..ccc9d39e1 --- /dev/null +++ b/Objectstorage/models/ChecksumAlgorithm.cs @@ -0,0 +1,26 @@ +/* + * 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; + +namespace Oci.ObjectstorageService.Models +{ + /// + /// Checksum algorithms supported by Object Storage for data integrity checks, in addition to the default MD5 checksum. + /// + public enum ChecksumAlgorithm { + [EnumMember(Value = "CRC32C")] + Crc32C, + [EnumMember(Value = "SHA256")] + Sha256, + [EnumMember(Value = "SHA384")] + Sha384 + } +} diff --git a/Objectstorage/requests/CreateMultipartUploadRequest.cs b/Objectstorage/requests/CreateMultipartUploadRequest.cs index a0dc24654..97d5c2e82 100644 --- a/Objectstorage/requests/CreateMultipartUploadRequest.cs +++ b/Objectstorage/requests/CreateMultipartUploadRequest.cs @@ -106,5 +106,13 @@ public class CreateMultipartUploadRequest : Oci.Common.IOciRequest ///
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-sse-kms-key-id")] public string OpcSseKmsKeyId { get; set; } + + /// + /// The optional checksum algorithm to use to compute and store the checksum of the body of the HTTP request (or the parts in case of multipart uploads), + /// in addition to the default MD5 checksum. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-checksum-algorithm")] + public System.Nullable OpcChecksumAlgorithm { get; set; } } } diff --git a/Objectstorage/requests/PutObjectRequest.cs b/Objectstorage/requests/PutObjectRequest.cs index 7b38844eb..8db9b65c7 100644 --- a/Objectstorage/requests/PutObjectRequest.cs +++ b/Objectstorage/requests/PutObjectRequest.cs @@ -111,6 +111,56 @@ public class PutObjectRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "Content-MD5")] public string ContentMD5 { get; set; } + /// + /// The optional checksum algorithm to use to compute and store the checksum of the body of the HTTP request (or the parts in case of multipart uploads), + /// in addition to the default MD5 checksum. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-checksum-algorithm")] + public System.Nullable OpcChecksumAlgorithm { get; set; } + + /// + /// Applicable only if CRC32C is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the body. If the optional opc-content-crc32c header + /// is present, Object Storage performs an integrity check on the body of the HTTP request by computing the CRC32C checksum for the body and comparing + /// it to the CRC32C checksum supplied in the header. If the two checksums do not match, the object is rejected and an HTTP-400 Unmatched Content CRC32C error + /// is returned with the message: + ///
+ /// \"The computed CRC32C of the request body (ACTUAL_CRC32C) does not match the opc-content-crc32c header (HEADER_CRC32C)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + /// + /// Applicable only if SHA256 is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded SHA256 hash of the body. If the optional opc-content-sha256 header is present, Object + /// Storage performs an integrity check on the body of the HTTP request by computing the SHA256 hash for the body and comparing it to the + /// SHA256 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content SHA256 error + /// is returned with the message: + ///
+ /// \"The computed SHA256 of the request body (ACTUAL_SHA256) does not match the opc-content-sha256 header (HEADER_SHA256)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + /// + /// Applicable only if SHA384 is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded SHA384 hash of the body. If the optional opc-content-sha384 header is present, Object + /// Storage performs an integrity check on the body of the HTTP request by computing the SHA384 hash for the body and comparing it to the + /// SHA384 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content SHA384 error + /// is returned with the message: + ///
+ /// \"The computed SHA384 of the request body (ACTUAL_SHA384) does not match the opc-content-sha384 header (HEADER_SHA384)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + /// /// The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to /// 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect diff --git a/Objectstorage/requests/UploadPartRequest.cs b/Objectstorage/requests/UploadPartRequest.cs index 4fa108276..b067298a1 100644 --- a/Objectstorage/requests/UploadPartRequest.cs +++ b/Objectstorage/requests/UploadPartRequest.cs @@ -131,6 +131,56 @@ public class UploadPartRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "Content-MD5")] public string ContentMD5 { get; set; } + /// + /// The optional checksum algorithm to use to compute and store the checksum of the body of the HTTP request (or the parts in case of multipart uploads), + /// in addition to the default MD5 checksum. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-checksum-algorithm")] + public System.Nullable OpcChecksumAlgorithm { get; set; } + + /// + /// Applicable only if CRC32C is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the body. If the optional opc-content-crc32c header + /// is present, Object Storage performs an integrity check on the body of the HTTP request by computing the CRC32C checksum for the body and comparing + /// it to the CRC32C checksum supplied in the header. If the two checksums do not match, the object is rejected and an HTTP-400 Unmatched Content CRC32C error + /// is returned with the message: + ///
+ /// \"The computed CRC32C of the request body (ACTUAL_CRC32C) does not match the opc-content-crc32c header (HEADER_CRC32C)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + /// + /// Applicable only if SHA256 is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded SHA256 hash of the body. If the optional opc-content-sha256 header is present, Object + /// Storage performs an integrity check on the body of the HTTP request by computing the SHA256 hash for the body and comparing it to the + /// SHA256 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content SHA256 error + /// is returned with the message: + ///
+ /// \"The computed SHA256 of the request body (ACTUAL_SHA256) does not match the opc-content-sha256 header (HEADER_SHA256)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + /// + /// Applicable only if SHA384 is specified in the opc-checksum-algorithm request header. + ///
+ /// The optional header that defines the base64-encoded SHA384 hash of the body. If the optional opc-content-sha384 header is present, Object + /// Storage performs an integrity check on the body of the HTTP request by computing the SHA384 hash for the body and comparing it to the + /// SHA384 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content SHA384 error + /// is returned with the message: + ///
+ /// \"The computed SHA384 of the request body (ACTUAL_SHA384) does not match the opc-content-sha384 header (HEADER_SHA384)\" + /// + ///
+ [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + /// /// The optional header that specifies \"AES256\" as the encryption algorithm. For more information, see /// [Using Your Own Keys for Server-Side Encryption](https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm). diff --git a/Objectstorage/responses/CommitMultipartUploadResponse.cs b/Objectstorage/responses/CommitMultipartUploadResponse.cs index 2d3f93381..4c20a3276 100644 --- a/Objectstorage/responses/CommitMultipartUploadResponse.cs +++ b/Objectstorage/responses/CommitMultipartUploadResponse.cs @@ -43,6 +43,40 @@ public class CommitMultipartUploadResponse : Oci.Common.OciResponse public string OpcMultipartMd5 { get; set; } + /// + /// The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object. + /// Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum + /// of the complete reconstructed object. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + + /// + /// Base-64 representation of the multipart object SHA256 hash. + /// The multipart object hash is calculated by taking the SHA256 hashes of the parts passed to this call, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA256 hash of the concatenated values. The multipart object hash is followed + /// by a hyphen and the total number of parts (for example, '-6'). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha256")] + public string OpcMultipartSha256 { get; set; } + + + /// + /// Base-64 representation of the multipart object SHA384 hash. + /// The multipart object hash is calculated by taking the SHA384 hashes of the parts passed to this call, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA384 hash of the concatenated values. The multipart object hash is followed + /// by a hyphen and the total number of parts (for example, '-6'). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha384")] + public string OpcMultipartSha384 { get; set; } + + /// /// The entity tag (ETag) for the object. /// diff --git a/Objectstorage/responses/GetObjectResponse.cs b/Objectstorage/responses/GetObjectResponse.cs index 46b781783..1a1a26ec0 100644 --- a/Objectstorage/responses/GetObjectResponse.cs +++ b/Objectstorage/responses/GetObjectResponse.cs @@ -80,6 +80,62 @@ public class GetObjectResponse : Oci.Common.OciResponse public string OpcMultipartMd5 { get; set; } + /// + /// The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object. + /// Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum + /// of the complete reconstructed object. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + + /// + /// Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. + /// The base64-encoded SHA256 hash of the object as computed during upload. + /// Unavailable for objects uploaded using multipart upload. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + + /// + /// Only applicable to objects uploaded using multipart upload. + /// Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. + /// Base-64 representation of the multipart object SHA256 hash. + /// The multipart object hash is calculated by taking the SHA256 hashes of the parts, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA256 hash of the concatenated values. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha256")] + public string OpcMultipartSha256 { get; set; } + + + /// + /// Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. + /// The base64-encoded SHA384 hash of the object as computed during upload. + /// Unavailable for objects uploaded using multipart upload. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + + + /// + /// Only applicable to objects uploaded using multipart upload. + /// Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. + /// Base-64 representation of the multipart object SHA384 hash. + /// The multipart object hash is calculated by taking the SHA384 hashes of the parts, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA384 hash of the concatenated values. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha384")] + public string OpcMultipartSha384 { get; set; } + + /// /// Content-Type header, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.17). /// diff --git a/Objectstorage/responses/HeadObjectResponse.cs b/Objectstorage/responses/HeadObjectResponse.cs index 3f38e42e5..e89b793ce 100644 --- a/Objectstorage/responses/HeadObjectResponse.cs +++ b/Objectstorage/responses/HeadObjectResponse.cs @@ -73,6 +73,62 @@ public class HeadObjectResponse : Oci.Common.OciResponse public string OpcMultipartMd5 { get; set; } + /// + /// The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object. + /// Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum + /// of the complete reconstructed object. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + + /// + /// Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. + /// The base64-encoded SHA256 hash of the object as computed during upload. + /// Unavailable for objects uploaded using multipart upload. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + + /// + /// Only applicable to objects uploaded using multipart upload. + /// Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. + /// Base-64 representation of the multipart object SHA256 hash. + /// The multipart object hash is calculated by taking the SHA256 hashes of the parts, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA256 hash of the concatenated values. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha256")] + public string OpcMultipartSha256 { get; set; } + + + /// + /// Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. + /// The base64-encoded SHA384 hash of the object as computed during upload. + /// Unavailable for objects uploaded using multipart upload. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + + + /// + /// Only applicable to objects uploaded using multipart upload. + /// Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. + /// Base-64 representation of the multipart object SHA384 hash. + /// The multipart object hash is calculated by taking the SHA384 hashes of the parts, + /// concatenating the binary representation of those hashes in order of their part numbers, + /// and then calculating the SHA384 hash of the concatenated values. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-multipart-sha384")] + public string OpcMultipartSha384 { get; set; } + + /// /// Content-Type header, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.17). /// diff --git a/Objectstorage/responses/PutObjectResponse.cs b/Objectstorage/responses/PutObjectResponse.cs index 54d798e8d..ab9b86186 100644 --- a/Objectstorage/responses/PutObjectResponse.cs +++ b/Objectstorage/responses/PutObjectResponse.cs @@ -38,6 +38,27 @@ public class PutObjectResponse : Oci.Common.OciResponse public string OpcContentMd5 { get; set; } + /// + /// The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server. Applicable only if CRC32C was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + + /// + /// The base64-encoded SHA256 hash of the request body as computed by the server. Applicable only if SHA256 was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + + /// + /// The base64-encoded SHA384 hash of the request body as computed by the server. Applicable only if SHA384 was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + + /// /// The entity tag (ETag) for the object. /// diff --git a/Objectstorage/responses/UploadPartResponse.cs b/Objectstorage/responses/UploadPartResponse.cs index b9f71ec32..68a4370a3 100644 --- a/Objectstorage/responses/UploadPartResponse.cs +++ b/Objectstorage/responses/UploadPartResponse.cs @@ -38,6 +38,27 @@ public class UploadPartResponse : Oci.Common.OciResponse public string OpcContentMd5 { get; set; } + /// + /// The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server. Applicable only if CRC32C was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-crc32c")] + public string OpcContentCrc32c { get; set; } + + + /// + /// The base64-encoded SHA256 hash of the request body as computed by the server. Applicable only if SHA256 was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha256")] + public string OpcContentSha256 { get; set; } + + + /// + /// The base64-encoded SHA384 hash of the request body as computed by the server. Applicable only if SHA384 was specified in opc-checksum-algorithm request header during upload. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-content-sha384")] + public string OpcContentSha384 { get; set; } + + /// /// The entity tag (ETag) for the object. /// diff --git a/Psql/models/ConnectionDetails.cs b/Psql/models/ConnectionDetails.cs index 699bc026b..15c1ba708 100644 --- a/Psql/models/ConnectionDetails.cs +++ b/Psql/models/ConnectionDetails.cs @@ -51,5 +51,8 @@ public class ConnectionDetails [JsonProperty(PropertyName = "instanceEndpoints")] public System.Collections.Generic.List InstanceEndpoints { get; set; } + [JsonProperty(PropertyName = "readerEndpoint")] + public Endpoint ReaderEndpoint { get; set; } + } } diff --git a/Psql/models/Endpoint.cs b/Psql/models/Endpoint.cs index 9696213f1..7b12999b8 100644 --- a/Psql/models/Endpoint.cs +++ b/Psql/models/Endpoint.cs @@ -34,10 +34,6 @@ public class Endpoint /// /// The IP address of the endpoint. /// - /// - /// Required - /// - [Required(ErrorMessage = "IpAddress is required.")] [JsonProperty(PropertyName = "ipAddress")] public string IpAddress { get; set; } diff --git a/Psql/models/NetworkDetails.cs b/Psql/models/NetworkDetails.cs index 1e3d546b6..d696b20d3 100644 --- a/Psql/models/NetworkDetails.cs +++ b/Psql/models/NetworkDetails.cs @@ -45,5 +45,11 @@ public class NetworkDetails [JsonProperty(PropertyName = "nsgIds")] public System.Collections.Generic.List NsgIds { get; set; } + /// + /// Specifies if the reader endpoint is enabled on the dbSystem. + /// + [JsonProperty(PropertyName = "isReaderEndpointEnabled")] + public System.Nullable IsReaderEndpointEnabled { get; set; } + } } diff --git a/Psql/models/UpdateNetworkDetails.cs b/Psql/models/UpdateNetworkDetails.cs index 7d8aaa265..242307c83 100644 --- a/Psql/models/UpdateNetworkDetails.cs +++ b/Psql/models/UpdateNetworkDetails.cs @@ -27,5 +27,11 @@ public class UpdateNetworkDetails [JsonProperty(PropertyName = "nsgIds")] public System.Collections.Generic.List NsgIds { get; set; } + /// + /// Specifies if the reader endpoint is enabled on the dbSystem. + /// + [JsonProperty(PropertyName = "isReaderEndpointEnabled")] + public System.Nullable IsReaderEndpointEnabled { get; set; } + } }