Skip to content

Commit

Permalink
Merge remote-tracking branch 'bitbucket/github' into release_2024-02-27
Browse files Browse the repository at this point in the history
  • Loading branch information
oci-dex-release-bot committed Feb 27, 2024
2 parents badde64 + cefe849 commit 21b6614
Show file tree
Hide file tree
Showing 313 changed files with 9,256 additions and 896 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.

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

## 65.60.0 - 2024-02-27
### Added
- Support for specifying dialog version when creating skills entities in the Digital Assistant service
- Support for bulk creation of skill entities in the Digital Assistant service
- Support for training skill query entities in the Digital Assistant service
- Support for cascading delete of skill custom entities in the Digital Assistant service
- Support for creating autonomous dataguard associations in the Database service
- Support for auto generation of secrets in the Secret Management service
- Support for cluster placement groups in Cloud Exadata Infrastructure in the Database service
- Support for retrieving previous logs of the container in the Container Instances service
- Support for queue sources in the Connector Hub service
- Support for automatic key rotation in the Key Management Service
- Support for downloading operator activity reports and assignment healthchecks in the Operator Access Control service
- Support for operator requesting access in the future time in the Operator Access Control service
- Support for forwarding hypervisor logs in the Operator Access Control service
- Support for asynchronous data asset export in the Data Catalog service
- Support for launch with multiple volumes for virtual machines in the Compute Service
- Support for tagging in Database Management service

### Breaking Changes
- The property `MaxCpuCoreCount` was removed from the models `AutonomousDatabase`, `AutonomousDatabaseSummary`, `CreateAutonomousDatabaseBase`, `CreateAutonomousDatabaseCloneDetails`, `CreateAutonomousDatabaseDetails`, `CreateAutonomousDatabaseFromBackupDetails`, `CreateAutonomousDatabaseFromBackupTimestampDetails`, `CreateCrossRegionAutonomousDatabaseDataGuardDetails`, `CreateCrossRegionDisasterRecoveryDetails`, `CreateRefreshableAutonomousDatabaseCloneDetails`, and `UpdateAutonomousDatabaseDetails` in the Database service
- The model `DatabaseConnectionCredentailsByName` was renamed to `DatabaseConnectionCredentialsByName` in the Database service
- The property `KeyId` was added and made mandatory in the model `CreateSecretDetails` in the Vault service


## 65.59.0 - 2024-02-20
### Added
- Support for calling Oracle Cloud Infrastructure services in the me-dcc-doha-1 region
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.

4 changes: 4 additions & 0 deletions containerinstances/retrieve_logs_request_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ type RetrieveLogsRequest 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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

// Returns the logs for the previous run of the container in a pod if the pod exists.
// If the container fails for some reason, this parameter is useful to determine the root cause of the failure.
IsPrevious *bool `mandatory:"false" contributesTo:"query" name:"isPrevious"`

// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
Expand Down
5 changes: 3 additions & 2 deletions core/attach_emulated_volume_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import (
// AttachEmulatedVolumeDetails The representation of AttachEmulatedVolumeDetails
type AttachEmulatedVolumeDetails struct {

// The OCID of the instance.
// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
// see AttachVolume.
InstanceId *string `mandatory:"true" json:"instanceId"`

// The OCID of the volume.
// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
VolumeId *string `mandatory:"true" json:"volumeId"`

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Expand Down
5 changes: 3 additions & 2 deletions core/attach_i_scsi_volume_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import (
// AttachIScsiVolumeDetails The representation of AttachIScsiVolumeDetails
type AttachIScsiVolumeDetails struct {

// The OCID of the instance.
// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
// see AttachVolume.
InstanceId *string `mandatory:"true" json:"instanceId"`

// The OCID of the volume.
// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
VolumeId *string `mandatory:"true" json:"volumeId"`

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Expand Down
5 changes: 3 additions & 2 deletions core/attach_paravirtualized_volume_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import (
// AttachParavirtualizedVolumeDetails The representation of AttachParavirtualizedVolumeDetails
type AttachParavirtualizedVolumeDetails struct {

// The OCID of the instance.
// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
// see AttachVolume.
InstanceId *string `mandatory:"true" json:"instanceId"`

// The OCID of the volume.
// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
VolumeId *string `mandatory:"true" json:"volumeId"`

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Expand Down
5 changes: 3 additions & 2 deletions core/attach_service_determined_volume_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import (
// AttachServiceDeterminedVolumeDetails The representation of AttachServiceDeterminedVolumeDetails
type AttachServiceDeterminedVolumeDetails struct {

// The OCID of the instance.
// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
// see AttachVolume.
InstanceId *string `mandatory:"true" json:"instanceId"`

// The OCID of the volume.
// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
VolumeId *string `mandatory:"true" json:"volumeId"`

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Expand Down
5 changes: 3 additions & 2 deletions core/attach_volume_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ import (
// AttachVolumeDetails The representation of AttachVolumeDetails
type AttachVolumeDetails interface {

// The OCID of the instance.
// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
// see AttachVolume.
GetInstanceId() *string

// The OCID of the volume.
// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
GetVolumeId() *string

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Expand Down
2 changes: 2 additions & 0 deletions core/core_compute_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5478,6 +5478,8 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte
// when the instance terminates.
// To preserve the boot volume associated with the instance, specify `true` for `PreserveBootVolumeQueryParam`.
// To delete the boot volume when the instance is deleted, specify `false` or do not specify a value for `PreserveBootVolumeQueryParam`.
// To preserve data volumes created with the instance, specify `true` or do not specify a value for `PreserveDataVolumesQueryParam`.
// To delete the data volumes when the instance itself is deleted, specify `false` for `PreserveDataVolumesQueryParam`.
// This is an asynchronous operation. The instance's `lifecycleState` changes to TERMINATING temporarily
// until the instance is completely deleted. After the instance is deleted, the record remains visible in the list of instances
// with the state TERMINATED for at least 12 hours, but no further action is needed.
Expand Down
169 changes: 169 additions & 0 deletions core/launch_attach_i_scsi_volume_details.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
// Copyright (c) 2016, 2018, 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.
// Code generated. DO NOT EDIT.

// Core Services API
//
// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
// compute instances, and block storage volumes. For more information, see the console
// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
// The required permissions are documented in the
// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
//

package core

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

// LaunchAttachIScsiVolumeDetails Details specific to ISCSI type volume attachments.
type LaunchAttachIScsiVolumeDetails struct {

// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
Device *string `mandatory:"false" json:"device"`

// A user-friendly name. Does not have to be unique, and it's changeable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`

// Whether the attachment was created in read-only mode.
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

// Whether the attachment should be created in shareable mode. If an attachment
// is created in shareable mode, then other instances can attach the same volume, provided
// that they also create their attachments in shareable mode. Only certain volume types can
// be attached in shareable mode. Defaults to false if not specified.
IsShareable *bool `mandatory:"false" json:"isShareable"`

// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
VolumeId *string `mandatory:"false" json:"volumeId"`

LaunchCreateVolumeDetails LaunchCreateVolumeDetails `mandatory:"false" json:"launchCreateVolumeDetails"`

// Whether to use CHAP authentication for the volume attachment. Defaults to false.
UseChap *bool `mandatory:"false" json:"useChap"`

// Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"`

// Refer the top-level definition of encryptionInTransitType.
// The default value is NONE.
EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

// GetDevice returns Device
func (m LaunchAttachIScsiVolumeDetails) GetDevice() *string {
return m.Device
}

// GetDisplayName returns DisplayName
func (m LaunchAttachIScsiVolumeDetails) GetDisplayName() *string {
return m.DisplayName
}

// GetIsReadOnly returns IsReadOnly
func (m LaunchAttachIScsiVolumeDetails) GetIsReadOnly() *bool {
return m.IsReadOnly
}

// GetIsShareable returns IsShareable
func (m LaunchAttachIScsiVolumeDetails) GetIsShareable() *bool {
return m.IsShareable
}

// GetVolumeId returns VolumeId
func (m LaunchAttachIScsiVolumeDetails) GetVolumeId() *string {
return m.VolumeId
}

// GetLaunchCreateVolumeDetails returns LaunchCreateVolumeDetails
func (m LaunchAttachIScsiVolumeDetails) GetLaunchCreateVolumeDetails() LaunchCreateVolumeDetails {
return m.LaunchCreateVolumeDetails
}

func (m LaunchAttachIScsiVolumeDetails) 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 LaunchAttachIScsiVolumeDetails) ValidateEnumValue() (bool, error) {
errMessage := []string{}

if _, ok := GetMappingEncryptionInTransitTypeEnum(string(m.EncryptionInTransitType)); !ok && m.EncryptionInTransitType != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ",")))
}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}

// MarshalJSON marshals to json representation
func (m LaunchAttachIScsiVolumeDetails) MarshalJSON() (buff []byte, e error) {
type MarshalTypeLaunchAttachIScsiVolumeDetails LaunchAttachIScsiVolumeDetails
s := struct {
DiscriminatorParam string `json:"type"`
MarshalTypeLaunchAttachIScsiVolumeDetails
}{
"iscsi",
(MarshalTypeLaunchAttachIScsiVolumeDetails)(m),
}

return json.Marshal(&s)
}

// UnmarshalJSON unmarshals from json
func (m *LaunchAttachIScsiVolumeDetails) UnmarshalJSON(data []byte) (e error) {
model := struct {
Device *string `json:"device"`
DisplayName *string `json:"displayName"`
IsReadOnly *bool `json:"isReadOnly"`
IsShareable *bool `json:"isShareable"`
VolumeId *string `json:"volumeId"`
LaunchCreateVolumeDetails launchcreatevolumedetails `json:"launchCreateVolumeDetails"`
UseChap *bool `json:"useChap"`
EncryptionInTransitType EncryptionInTransitTypeEnum `json:"encryptionInTransitType"`
IsAgentAutoIscsiLoginEnabled *bool `json:"isAgentAutoIscsiLoginEnabled"`
}{}

e = json.Unmarshal(data, &model)
if e != nil {
return
}
var nn interface{}
m.Device = model.Device

m.DisplayName = model.DisplayName

m.IsReadOnly = model.IsReadOnly

m.IsShareable = model.IsShareable

m.VolumeId = model.VolumeId

nn, e = model.LaunchCreateVolumeDetails.UnmarshalPolymorphicJSON(model.LaunchCreateVolumeDetails.JsonData)
if e != nil {
return
}
if nn != nil {
m.LaunchCreateVolumeDetails = nn.(LaunchCreateVolumeDetails)
} else {
m.LaunchCreateVolumeDetails = nil
}

m.UseChap = model.UseChap

m.EncryptionInTransitType = model.EncryptionInTransitType

m.IsAgentAutoIscsiLoginEnabled = model.IsAgentAutoIscsiLoginEnabled

return
}
Loading

0 comments on commit 21b6614

Please sign in to comment.