Skip to content

Commit

Permalink
Releasing version 65.76.0
Browse files Browse the repository at this point in the history
Releasing version 65.76.0
  • Loading branch information
oci-dex-release-bot authored Oct 15, 2024
2 parents 3b5c377 + 9f9d811 commit 6b26b32
Show file tree
Hide file tree
Showing 74 changed files with 2,296 additions and 118 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.

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

## 65.76.0 - 2024-10-15
### Added
- Support for open id connect discovery in the Oracle Kubernetes Engine service
- Support for DNS security extensions (DNSSEC) in the DNS service
- Support for restoring delta between backups to a new volume in the Block Volume service
- Support for cross region backup copy and replication for volumes encrypted with customer keys in the Block Volume service
- Support for list operation on deployment environments in the GoldenGate service
- Support for defining environment types for deployments in the GoldenGate service

### Breaking Changes
- The type of property `Category` was changed from `DeploymentTypeSummaryCategoryEnum` to `DeploymentCategoryEnum` in the model `DeploymentTypeSummary` in the GoldenGate service

## 65.75.2 - 2024-10-08
### Added
- Support for OCI Secure Desktops service
Expand Down
4 changes: 2 additions & 2 deletions common/version.go

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

44 changes: 25 additions & 19 deletions containerengine/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ type Cluster struct {

// Type of cluster
Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"`

// The cluster-specific OpenID Connect Discovery endpoint
OpenIdConnectDiscoveryEndpoint *string `mandatory:"false" json:"openIdConnectDiscoveryEndpoint"`
}

func (m Cluster) String() string {
Expand Down Expand Up @@ -109,25 +112,26 @@ func (m Cluster) ValidateEnumValue() (bool, error) {
// UnmarshalJSON unmarshals from json
func (m *Cluster) UnmarshalJSON(data []byte) (e error) {
model := struct {
Id *string `json:"id"`
Name *string `json:"name"`
CompartmentId *string `json:"compartmentId"`
EndpointConfig *ClusterEndpointConfig `json:"endpointConfig"`
VcnId *string `json:"vcnId"`
KubernetesVersion *string `json:"kubernetesVersion"`
KmsKeyId *string `json:"kmsKeyId"`
FreeformTags map[string]string `json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
SystemTags map[string]map[string]interface{} `json:"systemTags"`
Options *ClusterCreateOptions `json:"options"`
Metadata *ClusterMetadata `json:"metadata"`
LifecycleState ClusterLifecycleStateEnum `json:"lifecycleState"`
LifecycleDetails *string `json:"lifecycleDetails"`
Endpoints *ClusterEndpoints `json:"endpoints"`
AvailableKubernetesUpgrades []string `json:"availableKubernetesUpgrades"`
ImagePolicyConfig *ImagePolicyConfig `json:"imagePolicyConfig"`
ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"`
Type ClusterTypeEnum `json:"type"`
Id *string `json:"id"`
Name *string `json:"name"`
CompartmentId *string `json:"compartmentId"`
EndpointConfig *ClusterEndpointConfig `json:"endpointConfig"`
VcnId *string `json:"vcnId"`
KubernetesVersion *string `json:"kubernetesVersion"`
KmsKeyId *string `json:"kmsKeyId"`
FreeformTags map[string]string `json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
SystemTags map[string]map[string]interface{} `json:"systemTags"`
Options *ClusterCreateOptions `json:"options"`
Metadata *ClusterMetadata `json:"metadata"`
LifecycleState ClusterLifecycleStateEnum `json:"lifecycleState"`
LifecycleDetails *string `json:"lifecycleDetails"`
Endpoints *ClusterEndpoints `json:"endpoints"`
AvailableKubernetesUpgrades []string `json:"availableKubernetesUpgrades"`
ImagePolicyConfig *ImagePolicyConfig `json:"imagePolicyConfig"`
ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"`
Type ClusterTypeEnum `json:"type"`
OpenIdConnectDiscoveryEndpoint *string `json:"openIdConnectDiscoveryEndpoint"`
}{}

e = json.Unmarshal(data, &model)
Expand Down Expand Up @@ -183,5 +187,7 @@ func (m *Cluster) UnmarshalJSON(data []byte) (e error) {
}
m.Type = model.Type

m.OpenIdConnectDiscoveryEndpoint = model.OpenIdConnectDiscoveryEndpoint

return
}
4 changes: 4 additions & 0 deletions containerengine/cluster_create_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ type ClusterCreateOptions struct {
PersistentVolumeConfig *PersistentVolumeConfigDetails `mandatory:"false" json:"persistentVolumeConfig"`

ServiceLbConfig *ServiceLbConfigDetails `mandatory:"false" json:"serviceLbConfig"`

OpenIdConnectTokenAuthenticationConfig *OpenIdConnectTokenAuthenticationConfig `mandatory:"false" json:"openIdConnectTokenAuthenticationConfig"`

OpenIdConnectDiscovery *OpenIdConnectDiscovery `mandatory:"false" json:"openIdConnectDiscovery"`
}

func (m ClusterCreateOptions) String() string {
Expand Down
41 changes: 41 additions & 0 deletions containerengine/open_id_connect_discovery.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// 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.

// Kubernetes Engine API
//
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy,
// and manage cloud-native applications. For more information, see
// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
//

package containerengine

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

// OpenIdConnectDiscovery The property that define the status of the OIDC Discovery feature for a cluster.
type OpenIdConnectDiscovery struct {

// Whether the cluster has OIDC Discovery enabled. Defaults to false. If set to true, the cluster will be assigned a public OIDC Discovery endpoint.
IsOpenIdConnectDiscoveryEnabled *bool `mandatory:"false" json:"isOpenIdConnectDiscoveryEnabled"`
}

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

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}
77 changes: 77 additions & 0 deletions containerengine/open_id_connect_token_authentication_config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// 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.

// Kubernetes Engine API
//
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy,
// and manage cloud-native applications. For more information, see
// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm).
//

package containerengine

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

// OpenIdConnectTokenAuthenticationConfig The properties that configure OIDC token authentication in kube-apiserver.
// For more information, see Configuring the API Server (https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-flags).
type OpenIdConnectTokenAuthenticationConfig struct {

// Whether the cluster has OIDC Auth Config enabled. Defaults to false.
IsOpenIdConnectAuthEnabled *bool `mandatory:"true" json:"isOpenIdConnectAuthEnabled"`

// URL of the provider that allows the API server to discover public signing keys.
// Only URLs that use the https:// scheme are accepted. This is typically the provider's discovery URL,
// changed to have an empty path.
IssuerUrl *string `mandatory:"false" json:"issuerUrl"`

// A client id that all tokens must be issued for.
ClientId *string `mandatory:"false" json:"clientId"`

// JWT claim to use as the user name. By default sub, which is expected to be a unique identifier of the end
// user. Admins can choose other claims, such as email or name, depending on their provider. However, claims
// other than email will be prefixed with the issuer URL to prevent naming clashes with other plugins.
UsernameClaim *string `mandatory:"false" json:"usernameClaim"`

// Prefix prepended to username claims to prevent clashes with existing names (such as system:users).
// For example, the value oidc: will create usernames like oidc:jane.doe. If this flag isn't provided and
// --oidc-username-claim is a value other than email the prefix defaults to ( Issuer URL )# where
// ( Issuer URL ) is the value of --oidc-issuer-url. The value - can be used to disable all prefixing.
UsernamePrefix *string `mandatory:"false" json:"usernamePrefix"`

// JWT claim to use as the user's group. If the claim is present it must be an array of strings.
GroupsClaim *string `mandatory:"false" json:"groupsClaim"`

// Prefix prepended to group claims to prevent clashes with existing names (such as system:groups).
GroupsPrefix *string `mandatory:"false" json:"groupsPrefix"`

// A key=value pair that describes a required claim in the ID Token. If set, the claim is verified to be present
// in the ID Token with a matching value. Repeat this flag to specify multiple claims.
RequiredClaims []KeyValue `mandatory:"false" json:"requiredClaims"`

// A Base64 encoded public RSA or ECDSA certificates used to signed your identity provider's web certificate.
CaCertificate *string `mandatory:"false" json:"caCertificate"`

// The signing algorithms accepted. Default is ["RS256"].
SigningAlgorithms []string `mandatory:"false" json:"signingAlgorithms"`
}

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

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}
4 changes: 4 additions & 0 deletions containerengine/update_cluster_options_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ type UpdateClusterOptionsDetails struct {
PersistentVolumeConfig *PersistentVolumeConfigDetails `mandatory:"false" json:"persistentVolumeConfig"`

ServiceLbConfig *ServiceLbConfigDetails `mandatory:"false" json:"serviceLbConfig"`

OpenIdConnectTokenAuthenticationConfig *OpenIdConnectTokenAuthenticationConfig `mandatory:"false" json:"openIdConnectTokenAuthenticationConfig"`

OpenIdConnectDiscovery *OpenIdConnectDiscovery `mandatory:"false" json:"openIdConnectDiscovery"`
}

func (m UpdateClusterOptionsDetails) String() string {
Expand Down
5 changes: 5 additions & 0 deletions core/block_volume_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ type BlockVolumeReplica struct {

// The OCID of the volume group replica.
VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"`

// The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

func (m BlockVolumeReplica) String() string {
Expand Down
6 changes: 6 additions & 0 deletions core/block_volume_replica_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ type BlockVolumeReplicaDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`

// The OCID of the Vault service key which is the master encryption key for the cross region block volume replicas, which will be used in the destination region to encrypt the block volume replica's encryption keys.
// For more information about the Vault service and encryption keys, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
XrrKmsKeyId *string `mandatory:"false" json:"xrrKmsKeyId"`
}

func (m BlockVolumeReplicaDetails) String() string {
Expand Down
5 changes: 5 additions & 0 deletions core/block_volume_replica_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ type BlockVolumeReplicaInfo struct {
// The availability domain of the block volume replica.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

// The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

func (m BlockVolumeReplicaInfo) String() string {
Expand Down
5 changes: 5 additions & 0 deletions core/boot_volume_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ type BootVolumeReplica struct {

// The OCID of the volume group replica.
VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"`

// The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

func (m BootVolumeReplica) String() string {
Expand Down
6 changes: 6 additions & 0 deletions core/boot_volume_replica_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ type BootVolumeReplicaDetails struct {
// A user-friendly name. Does not have to be unique, and it's changeable.
// Avoid entering confidential information.
DisplayName *string `mandatory:"false" json:"displayName"`

// The OCID of the Vault service key which is the master encryption key for the cross region boot volume replicas, which will be used in the destination region to encrypt the boot volume replica's encryption keys.
// For more information about the Vault service and encryption keys, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
XrrKmsKeyId *string `mandatory:"false" json:"xrrKmsKeyId"`
}

func (m BootVolumeReplicaDetails) String() string {
Expand Down
5 changes: 5 additions & 0 deletions core/boot_volume_replica_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ type BootVolumeReplicaInfo struct {
// The availability domain of the boot volume replica.
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

// The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see
// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

func (m BootVolumeReplicaInfo) String() string {
Expand Down
4 changes: 4 additions & 0 deletions core/boot_volume_source_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ func (m *bootvolumesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interfa
mm := BootVolumeSourceFromBootVolumeReplicaDetails{}
err = json.Unmarshal(data, &mm)
return mm, err
case "bootVolumeBackupDelta":
mm := BootVolumeSourceFromBootVolumeBackupDeltaDetails{}
err = json.Unmarshal(data, &mm)
return mm, err
default:
common.Logf("Recieved unsupported enum value for BootVolumeSourceDetails: %s.", m.Type)
return *m, nil
Expand Down
66 changes: 66 additions & 0 deletions core/boot_volume_source_from_boot_volume_backup_delta_details.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// 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"
)

// BootVolumeSourceFromBootVolumeBackupDeltaDetails Specifies the boot volume backups (first & second) and block size in bytes.
type BootVolumeSourceFromBootVolumeBackupDeltaDetails struct {

// The OCID of the first boot volume backup.
FirstBackupId *string `mandatory:"true" json:"firstBackupId"`

// The OCID of the second boot volume backup.
SecondBackupId *string `mandatory:"true" json:"secondBackupId"`

// Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
ChangeBlockSizeInBytes *int64 `mandatory:"false" json:"changeBlockSizeInBytes"`
}

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

if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}

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

return json.Marshal(&s)
}
Loading

0 comments on commit 6b26b32

Please sign in to comment.