Skip to content

Commit

Permalink
Releasing version 65.39.0
Browse files Browse the repository at this point in the history
Releasing version 65.39.0
  • Loading branch information
oci-dex-release-bot authored May 23, 2023
2 parents 7f4fba6 + 1613c45 commit 41d7eb1
Show file tree
Hide file tree
Showing 117 changed files with 1,256 additions and 626 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.

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

## 65.39.0 - 2023-05-23
### Added
- Support for CRI-O parsing in the Logging service
- Support for retrieving the resource availability domain when getting Exadata infrastructure or VM clusters in the Database service
- Support for specifying database servers when creating dedicated autonomous databases in the Database service
- Support for secondary egress zones in the DNS service

### Breaking Changes
- The models `LogIncludedSearch`, `LogIncludedSearchSummaryCollection`, `ListLogIncludedSearchesRequest` and `ListLogIncludedSearchesResponse` were removed in the Logging service
- The property `Keys` was made required in the `UnifiedAgentCsvParser` and `UnifiedAgentTsvParser` models in the Logging service
- The property `Patterns` was made required in the `UnifiedAgentGrokParser` and `UnifiedAgentMultilineGrokParser` models in the Logging service
- The properties `Sources` and `Destination` were made required in the `UnifiedAgentLoggingConfiguration` model in the Logging service
- The property `Format` was made required in the `UnifiedAgentMultilineParser` model in the Logging service
- The property `Expression` was made required in the `UnifiedAgentRegexParser` model in the Logging service
- The property `Paths` was made required in the `UnifiedAgentTailLogSource` model in the Logging service
- The property `Channels` was made required in the `UnifiedAgentWindowsEventSource` model in the Logging service
- The operations `GetLogIncludedSearch` and `ListLogIncludedSearches` were removed from the `LoggingManagementClient` in the Logging service
- A new required property `ExternalDownstreams` was added in the `Zone` model in the DNS service


## 65.38.0 - 2023-05-16
### Added
- Support for self-service integration in the Fusion Apps as a Service service
Expand Down
2 changes: 1 addition & 1 deletion common/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion database/autonomous_container_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type AutonomousContainerDatabase struct {
// **Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.
DbUniqueName *string `mandatory:"false" json:"dbUniqueName"`

// The database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, must start with an alphabetic character and followed by 1 to 7 alphanumeric characters.
// The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.
DbName *string `mandatory:"false" json:"dbName"`

// **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`.
Expand Down
2 changes: 1 addition & 1 deletion database/autonomous_container_database_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type AutonomousContainerDatabaseSummary struct {
// **Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.
DbUniqueName *string `mandatory:"false" json:"dbUniqueName"`

// The database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, must start with an alphabetic character and followed by 1 to 7 alphanumeric characters.
// The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.
DbName *string `mandatory:"false" json:"dbName"`

// **No longer used.** For Autonomous Database on dedicated Exadata infrastructure, the container database is created within a specified `cloudAutonomousVmCluster`.
Expand Down
2 changes: 1 addition & 1 deletion database/autonomous_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type AutonomousDatabase struct {
// An array of CPU values that an Autonomous Database can be scaled to.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`

// The amount of memory (in GBs) enabled per each CPU in the Autonomous VM Cluster.
// The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The quantity of data in the database, in gigabytes.
Expand Down
2 changes: 1 addition & 1 deletion database/autonomous_database_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ type AutonomousDatabaseSummary struct {
// An array of CPU values that an Autonomous Database can be scaled to.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`

// The amount of memory (in GBs) enabled per each CPU in the Autonomous VM Cluster.
// The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The quantity of data in the database, in gigabytes.
Expand Down
3 changes: 3 additions & 0 deletions database/autonomous_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ type AutonomousVirtualMachine struct {
// Defined 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).
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Cloud Autonomous VM Cluster associated with the Autonomous Virtual Machine.
CloudAutonomousVmClusterId *string `mandatory:"false" json:"cloudAutonomousVmClusterId"`
}

func (m AutonomousVirtualMachine) String() string {
Expand Down
3 changes: 3 additions & 0 deletions database/autonomous_virtual_machine_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ type AutonomousVirtualMachineSummary struct {
// Defined 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).
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Cloud Autonomous VM Cluster associated with the Autonomous Virtual Machine.
CloudAutonomousVmClusterId *string `mandatory:"false" json:"cloudAutonomousVmClusterId"`
}

func (m AutonomousVirtualMachineSummary) String() string {
Expand Down
6 changes: 3 additions & 3 deletions database/autonomous_vm_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type AutonomousVmCluster struct {
// The total number of Autonomous Container Databases that can be created.
TotalContainerDatabases *int `mandatory:"false" json:"totalContainerDatabases"`

// The amount of memory (in GBs) to be enabled per each CPU core.
// The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The number of CPU cores enabled per VM cluster node.
Expand Down Expand Up @@ -133,10 +133,10 @@ type AutonomousVmCluster struct {
// Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS.
IsMtlsEnabled *bool `mandatory:"false" json:"isMtlsEnabled"`

// The date and time of Database SSL certificate expiration.
// The date and time of the Database SSL certificate expiration.
TimeDatabaseSslCertificateExpires *common.SDKTime `mandatory:"false" json:"timeDatabaseSslCertificateExpires"`

// The date and time of ORDS certificate expiration.
// The date and time of the ORDS certificate expiration.
TimeOrdsCertificateExpires *common.SDKTime `mandatory:"false" json:"timeOrdsCertificateExpires"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,37 @@
// 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.
// Code generated. DO NOT EDIT.

// Logging Management API
// Database Service API
//
// Use the Logging Management API to create, read, list, update, and delete log groups, log objects, and agent configurations.
// The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see Overview of the Database Service (https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm).
//

package logging
package database

import (
"fmt"
"github.com/oracle/oci-go-sdk/v65/common"
"strings"
)

// LogIncludedSearchSummary A summary of what the OCI included search does.
type LogIncludedSearchSummary struct {
// AutonomousVmClusterResourceDetails Unallocated resource details of the AVM
type AutonomousVmClusterResourceDetails struct {

// The OCID of the resource.
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure.
Id *string `mandatory:"true" json:"id"`

// The user-friendly display name. This must be unique within the enclosing resource,
// and it's changeable. Avoid entering confidential information.
DisplayName *string `mandatory:"true" json:"displayName"`

// Time the resource was created.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

// Time the resource was last modified.
TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`
// Total unallocated autonomous data storage in the AVM in TBs.
UnAllocatedAdbStorageInTBs *float64 `mandatory:"true" json:"unAllocatedAdbStorageInTBs"`
}

func (m LogIncludedSearchSummary) String() string {
func (m AutonomousVmClusterResourceDetails) String() string {
return common.PointerString(m)
}

// ValidateEnumValue returns an error when providing an unsupported enum value
// This function is being called during constructing API request process
// Not recommended for calling this function directly
func (m LogIncludedSearchSummary) ValidateEnumValue() (bool, error) {
func (m AutonomousVmClusterResourceDetails) ValidateEnumValue() (bool, error) {
errMessage := []string{}

if len(errMessage) > 0 {
Expand Down
6 changes: 3 additions & 3 deletions database/autonomous_vm_cluster_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type AutonomousVmClusterSummary struct {
// The total number of Autonomous Container Databases that can be created.
TotalContainerDatabases *int `mandatory:"false" json:"totalContainerDatabases"`

// The amount of memory (in GBs) to be enabled per each CPU core.
// The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The number of CPU cores enabled per VM cluster node.
Expand Down Expand Up @@ -133,10 +133,10 @@ type AutonomousVmClusterSummary struct {
// Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS.
IsMtlsEnabled *bool `mandatory:"false" json:"isMtlsEnabled"`

// The date and time of Database SSL certificate expiration.
// The date and time of the Database SSL certificate expiration.
TimeDatabaseSslCertificateExpires *common.SDKTime `mandatory:"false" json:"timeDatabaseSslCertificateExpires"`

// The date and time of ORDS certificate expiration.
// The date and time of the ORDS certificate expiration.
TimeOrdsCertificateExpires *common.SDKTime `mandatory:"false" json:"timeOrdsCertificateExpires"`
}

Expand Down
5 changes: 4 additions & 1 deletion database/cloud_autonomous_vm_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ type CloudAutonomousVmCluster struct {
// The local node storage allocated in GBs.
DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"`

// The amount of memory (in GBs) enabled per each CPU core.
// The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers.
DbServers []string `mandatory:"false" json:"dbServers"`
}

func (m CloudAutonomousVmCluster) String() string {
Expand Down
5 changes: 4 additions & 1 deletion database/cloud_autonomous_vm_cluster_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ type CloudAutonomousVmClusterSummary struct {
// The local node storage allocated in GBs.
DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"`

// The amount of memory (in GBs) enabled per each CPU core.
// The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers.
DbServers []string `mandatory:"false" json:"dbServers"`
}

func (m CloudAutonomousVmClusterSummary) String() string {
Expand Down
2 changes: 1 addition & 1 deletion database/create_autonomous_container_database_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type CreateAutonomousContainerDatabaseDetails struct {
// **Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.
DbUniqueName *string `mandatory:"false" json:"dbUniqueName"`

// The database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, must start with an alphabetic character and followed by 1 to 7 alphanumeric characters.
// The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.
DbName *string `mandatory:"false" json:"dbName"`

// The service level agreement type of the Autonomous Container Database. The default is STANDARD. For an autonomous dataguard Autonomous Container Database, the specified Autonomous Exadata Infrastructure must be associated with a remote Autonomous Exadata Infrastructure.
Expand Down
2 changes: 1 addition & 1 deletion database/create_autonomous_vm_cluster_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type CreateAutonomousVmClusterDetails struct {
// The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
ComputeModel CreateAutonomousVmClusterDetailsComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`

// The amount of memory (in GBs) to be enabled per each CPU core.
// The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The data disk group size to be allocated for Autonomous Databases, in TBs.
Expand Down
2 changes: 1 addition & 1 deletion database/create_cloud_autonomous_vm_cluster_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type CreateCloudAutonomousVmClusterDetails struct {
// The number of CPU cores to be enabled per VM cluster node.
CpuCoreCountPerNode *int `mandatory:"false" json:"cpuCoreCountPerNode"`

// The amount of memory (in GBs) to be enabled per each CPU core.
// The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`

// The data disk group size to be allocated for Autonomous Databases, in TBs.
Expand Down
57 changes: 57 additions & 0 deletions database/database_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9178,6 +9178,63 @@ func (client DatabaseClient) getExadataInfrastructureOcpus(ctx context.Context,
return response, err
}

// GetExadataInfrastructureUnAllocatedResources Gets un allocated resources information for the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
//
// See also
//
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadataInfrastructureUnAllocatedResources.go.html to see an example of how to use GetExadataInfrastructureUnAllocatedResources API.
func (client DatabaseClient) GetExadataInfrastructureUnAllocatedResources(ctx context.Context, request GetExadataInfrastructureUnAllocatedResourcesRequest) (response GetExadataInfrastructureUnAllocatedResourcesResponse, err error) {
var ociResponse common.OCIResponse
policy := common.NoRetryPolicy()
if client.RetryPolicy() != nil {
policy = *client.RetryPolicy()
}
if request.RetryPolicy() != nil {
policy = *request.RetryPolicy()
}
ociResponse, err = common.Retry(ctx, request, client.getExadataInfrastructureUnAllocatedResources, policy)
if err != nil {
if ociResponse != nil {
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
opcRequestId := httpResponse.Header.Get("opc-request-id")
response = GetExadataInfrastructureUnAllocatedResourcesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
} else {
response = GetExadataInfrastructureUnAllocatedResourcesResponse{}
}
}
return
}
if convertedResponse, ok := ociResponse.(GetExadataInfrastructureUnAllocatedResourcesResponse); ok {
response = convertedResponse
} else {
err = fmt.Errorf("failed to convert OCIResponse into GetExadataInfrastructureUnAllocatedResourcesResponse")
}
return
}

// getExadataInfrastructureUnAllocatedResources implements the OCIOperation interface (enables retrying operations)
func (client DatabaseClient) getExadataInfrastructureUnAllocatedResources(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {

httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadataInfrastructures/{exadataInfrastructureId}/unAllocatedResources", binaryReqBody, extraHeaders)
if err != nil {
return nil, err
}

var response GetExadataInfrastructureUnAllocatedResourcesResponse
var httpResponse *http.Response
httpResponse, err = client.Call(ctx, &httpRequest)
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadataInfrastructureUnAllocatedResources/GetExadataInfrastructureUnAllocatedResources"
err = common.PostProcessServiceError(err, "Database", "GetExadataInfrastructureUnAllocatedResources", apiReferenceLink)
return response, err
}

err = common.UnmarshalResponse(httpResponse, &response)
return response, err
}

// GetExadataIormConfig Gets the IORM configuration settings for the specified cloud Exadata DB system.
// All Exadata service instances have default IORM settings.
// **Note:** Deprecated for Exadata Cloud Service systems. Use the new resource model APIs (https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) instead.
Expand Down
3 changes: 3 additions & 0 deletions database/exadata_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ type ExadataInfrastructure struct {

NetworkBondingModeDetails *NetworkBondingModeDetails `mandatory:"false" json:"networkBondingModeDetails"`

// The name of the availability domain that the Exadata infrastructure is located in.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

// 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).
// Example: `{"Department": "Finance"}`
Expand Down
Loading

0 comments on commit 41d7eb1

Please sign in to comment.