Skip to content

Commit

Permalink
Merge remote-tracking branch 'bitbucket/github' into release_2023-06-20
Browse files Browse the repository at this point in the history
  • Loading branch information
oci-dex-release-bot committed Jun 20, 2023
2 parents 2c1665e + 5e935bf commit 31d2b45
Show file tree
Hide file tree
Showing 277 changed files with 9,999 additions and 165 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

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

## 65.41.1 - 2023-06-20
### Added
- Support for serial console access in the Database service
- Support for an increased storage size limit of up to 384 TBs in the Database service
- Support for network security group (NSG) support for private database registrations / private endpoints in the Database Migration service
- Support for document classification on documents of more than one page in the Data Labeling service
- Support for importing datasets in the Data Labeling service
- Support for specifying a shape when creating applications in the Functions service
- Support for creating and managing pools in the Data Flow service
- Support for specifying certificate parameters when creating or updating a node in the Roving Edge Infrastructure service
- Support for certificate management in the Roving Edge Infrastructure service
- Support for upgrade bundle management in the Roving Edge Infrastructure service


## 65.41.0 - 2023-06-13
### Added
- Support for the OCI Control Center 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.

15 changes: 15 additions & 0 deletions database/console_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ type ConsoleConnection struct {

// The current state of the console connection.
LifecycleState ConsoleConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

// The SSH public key's fingerprint for the console connection service host.
ServiceHostKeyFingerprint *string `mandatory:"false" json:"serviceHostKeyFingerprint"`

// 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"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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"`

// Information about the current lifecycle state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (m ConsoleConnection) String() string {
Expand Down
15 changes: 15 additions & 0 deletions database/console_connection_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ type ConsoleConnectionSummary struct {

// The current state of the console connection.
LifecycleState ConsoleConnectionSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

// The SSH public key's fingerprint for the console connection service host.
ServiceHostKeyFingerprint *string `mandatory:"false" json:"serviceHostKeyFingerprint"`

// 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"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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"`

// Information about the current lifecycle state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (m ConsoleConnectionSummary) String() string {
Expand Down
1 change: 1 addition & 0 deletions database/create_autonomous_database_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ type CreateAutonomousDatabaseBase interface {
GetDbWorkload() CreateAutonomousDatabaseBaseDbWorkloadEnum

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
GetDataStorageSizeInTBs() *int

Expand Down
1 change: 1 addition & 0 deletions database/create_autonomous_database_clone_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type CreateAutonomousDatabaseCloneDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
1 change: 1 addition & 0 deletions database/create_autonomous_database_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type CreateAutonomousDatabaseDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
1 change: 1 addition & 0 deletions database/create_autonomous_database_from_backup_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type CreateAutonomousDatabaseFromBackupDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type CreateAutonomousDatabaseFromBackupTimestampDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
9 changes: 9 additions & 0 deletions database/create_console_connection_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ type CreateConsoleConnectionDetails struct {

// The SSH public key used to authenticate the console connection.
PublicKey *string `mandatory:"true" json:"publicKey"`

// 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"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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"`
}

func (m CreateConsoleConnectionDetails) String() string {
Expand Down
3 changes: 3 additions & 0 deletions database/create_console_connection_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ type CreateConsoleConnectionResponse struct {
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
// a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

// 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 GetWorkRequest with a work request OCID to track the status of the request.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (response CreateConsoleConnectionResponse) String() string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ type CreateCrossRegionAutonomousDatabaseDataGuardDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
1 change: 1 addition & 0 deletions database/create_cross_region_disaster_recovery_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ type CreateCrossRegionDisasterRecoveryDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type CreateRefreshableAutonomousDatabaseCloneDetails struct {
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

// The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes (https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
// A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).
// **Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter.
DataStorageSizeInTBs *int `mandatory:"false" json:"dataStorageSizeInTBs"`

Expand Down
114 changes: 114 additions & 0 deletions database/database_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16928,6 +16928,63 @@ func (client DatabaseClient) updateCloudVmClusterIormConfig(ctx context.Context,
return response, err
}

// UpdateConsoleConnection Updates the specified database node console connection.
//
// See also
//
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateConsoleConnection.go.html to see an example of how to use UpdateConsoleConnection API.
func (client DatabaseClient) UpdateConsoleConnection(ctx context.Context, request UpdateConsoleConnectionRequest) (response UpdateConsoleConnectionResponse, 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.updateConsoleConnection, policy)
if err != nil {
if ociResponse != nil {
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
opcRequestId := httpResponse.Header.Get("opc-request-id")
response = UpdateConsoleConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
} else {
response = UpdateConsoleConnectionResponse{}
}
}
return
}
if convertedResponse, ok := ociResponse.(UpdateConsoleConnectionResponse); ok {
response = convertedResponse
} else {
err = fmt.Errorf("failed to convert OCIResponse into UpdateConsoleConnectionResponse")
}
return
}

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

httpRequest, err := request.HTTPRequest(http.MethodPut, "/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}", binaryReqBody, extraHeaders)
if err != nil {
return nil, err
}

var response UpdateConsoleConnectionResponse
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/ConsoleConnection/UpdateConsoleConnection"
err = common.PostProcessServiceError(err, "Database", "UpdateConsoleConnection", apiReferenceLink)
return response, err
}

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

// UpdateDataGuardAssociation Updates the Data Guard association the specified database. This API can be used to change the `protectionMode` and `transportType` of the Data Guard association.
//
// See also
Expand Down Expand Up @@ -17156,6 +17213,63 @@ func (client DatabaseClient) updateDbHome(ctx context.Context, request common.OC
return response, err
}

// UpdateDbNode Updates the specified database node.
//
// See also
//
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateDbNode.go.html to see an example of how to use UpdateDbNode API.
func (client DatabaseClient) UpdateDbNode(ctx context.Context, request UpdateDbNodeRequest) (response UpdateDbNodeResponse, 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.updateDbNode, policy)
if err != nil {
if ociResponse != nil {
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
opcRequestId := httpResponse.Header.Get("opc-request-id")
response = UpdateDbNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
} else {
response = UpdateDbNodeResponse{}
}
}
return
}
if convertedResponse, ok := ociResponse.(UpdateDbNodeResponse); ok {
response = convertedResponse
} else {
err = fmt.Errorf("failed to convert OCIResponse into UpdateDbNodeResponse")
}
return
}

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

httpRequest, err := request.HTTPRequest(http.MethodPut, "/dbNodes/{dbNodeId}", binaryReqBody, extraHeaders)
if err != nil {
return nil, err
}

var response UpdateDbNodeResponse
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/DbNode/UpdateDbNode"
err = common.PostProcessServiceError(err, "Database", "UpdateDbNode", apiReferenceLink)
return response, err
}

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

// UpdateDbSystem Updates the properties of the specified DB system.
// **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.
// For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs (https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm) for details on converting existing Exadata DB systems to the new resource model.
Expand Down
12 changes: 12 additions & 0 deletions database/db_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ type DbNode struct {
// Additional information about the planned maintenance.
AdditionalDetails *string `mandatory:"false" json:"additionalDetails"`

// 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"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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"`

// Information about the current lifecycle state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

// The number of CPU cores enabled on the Db node.
CpuCoreCount *int `mandatory:"false" json:"cpuCoreCount"`

Expand Down
12 changes: 12 additions & 0 deletions database/db_node_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ type DbNodeSummary struct {
// Additional information about the planned maintenance.
AdditionalDetails *string `mandatory:"false" json:"additionalDetails"`

// 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"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

// 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"`

// Information about the current lifecycle state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

// The number of CPU cores enabled on the Db node.
CpuCoreCount *int `mandatory:"false" json:"cpuCoreCount"`

Expand Down
Loading

0 comments on commit 31d2b45

Please sign in to comment.