Skip to content

Commit 1727f90

Browse files
Releasing version 65.56.1
Releasing version 65.56.1
2 parents 8db878b + 5261feb commit 1727f90

File tree

113 files changed

+12319
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+12319
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

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

7+
## 65.56.1 - 2024-01-23
8+
### Added
9+
- Support for the Generative AI service
10+
- Support for additional currencies and countries for paid listings in the Marketplace service
11+
- Support for process sets in the Stack Monitoring service
12+
13+
714
## 65.56.0 - 2024-01-16
815
### Added
916
- Support for resource id filter on the service work requests in the Container Instances service

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql ##SPECNAME##
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

common/http.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,11 @@ func responseToStruct(response *http.Response, val *reflect.Value, unmarshaler P
10681068
// Notice the current implementation only supports native types:int, strings, floats, bool as the field types
10691069
func UnmarshalResponse(httpResponse *http.Response, responseStruct interface{}) (err error) {
10701070

1071+
// Check for text/event-stream content type, which cannot be Unmarshalled by the SDK
1072+
if httpResponse != nil && httpResponse.Header != nil && strings.ToLower(httpResponse.Header.Get("content-type")) == "text/event-stream" {
1073+
return fmt.Errorf("streaming mode is currently not supported. Please use non-streaming mode for this API instead")
1074+
}
1075+
10711076
var val *reflect.Value
10721077
if val, err = checkForValidResponseStruct(responseStruct); err != nil {
10731078
return

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generativeai/action_type.go

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Generative AI Service Management API
6+
//
7+
// OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
8+
// Use the Generative AI service management API to create and manage DedicatedAiCluster, Endpoint, Model, and WorkRequest in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model.
9+
// To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the Generative AI Inference API (https://docs.cloud.oracle.com/#/en/generative-ai-inference/latest/).
10+
// To learn more about the service, see the Generative AI documentation (https://docs.cloud.oracle.com/iaas/Content/generative-ai/home.htm).
11+
//
12+
13+
package generativeai
14+
15+
import (
16+
"strings"
17+
)
18+
19+
// ActionTypeEnum Enum with underlying type: string
20+
type ActionTypeEnum string
21+
22+
// Set of constants representing the allowable values for ActionTypeEnum
23+
const (
24+
ActionTypeCreated ActionTypeEnum = "CREATED"
25+
ActionTypeUpdated ActionTypeEnum = "UPDATED"
26+
ActionTypeDeleted ActionTypeEnum = "DELETED"
27+
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
28+
ActionTypeRelated ActionTypeEnum = "RELATED"
29+
ActionTypeFailed ActionTypeEnum = "FAILED"
30+
)
31+
32+
var mappingActionTypeEnum = map[string]ActionTypeEnum{
33+
"CREATED": ActionTypeCreated,
34+
"UPDATED": ActionTypeUpdated,
35+
"DELETED": ActionTypeDeleted,
36+
"IN_PROGRESS": ActionTypeInProgress,
37+
"RELATED": ActionTypeRelated,
38+
"FAILED": ActionTypeFailed,
39+
}
40+
41+
var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{
42+
"created": ActionTypeCreated,
43+
"updated": ActionTypeUpdated,
44+
"deleted": ActionTypeDeleted,
45+
"in_progress": ActionTypeInProgress,
46+
"related": ActionTypeRelated,
47+
"failed": ActionTypeFailed,
48+
}
49+
50+
// GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
51+
func GetActionTypeEnumValues() []ActionTypeEnum {
52+
values := make([]ActionTypeEnum, 0)
53+
for _, v := range mappingActionTypeEnum {
54+
values = append(values, v)
55+
}
56+
return values
57+
}
58+
59+
// GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
60+
func GetActionTypeEnumStringValues() []string {
61+
return []string{
62+
"CREATED",
63+
"UPDATED",
64+
"DELETED",
65+
"IN_PROGRESS",
66+
"RELATED",
67+
"FAILED",
68+
}
69+
}
70+
71+
// GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
72+
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool) {
73+
enum, ok := mappingActionTypeEnumLowerCase[strings.ToLower(val)]
74+
return enum, ok
75+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Generative AI Service Management API
6+
//
7+
// OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
8+
// Use the Generative AI service management API to create and manage DedicatedAiCluster, Endpoint, Model, and WorkRequest in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model.
9+
// To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the Generative AI Inference API (https://docs.cloud.oracle.com/#/en/generative-ai-inference/latest/).
10+
// To learn more about the service, see the Generative AI documentation (https://docs.cloud.oracle.com/iaas/Content/generative-ai/home.htm).
11+
//
12+
13+
package generativeai
14+
15+
import (
16+
"fmt"
17+
"github.com/oracle/oci-go-sdk/v65/common"
18+
"strings"
19+
)
20+
21+
// ChangeDedicatedAiClusterCompartmentDetails The details to move a dedicated AI cluster to another compartment.
22+
type ChangeDedicatedAiClusterCompartmentDetails struct {
23+
24+
// The OCID of the compartment to move the dedicated AI cluster to.
25+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
26+
}
27+
28+
func (m ChangeDedicatedAiClusterCompartmentDetails) String() string {
29+
return common.PointerString(m)
30+
}
31+
32+
// ValidateEnumValue returns an error when providing an unsupported enum value
33+
// This function is being called during constructing API request process
34+
// Not recommended for calling this function directly
35+
func (m ChangeDedicatedAiClusterCompartmentDetails) ValidateEnumValue() (bool, error) {
36+
errMessage := []string{}
37+
38+
if len(errMessage) > 0 {
39+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
40+
}
41+
return false, nil
42+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
package generativeai
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// ChangeDedicatedAiClusterCompartmentRequest wrapper for the ChangeDedicatedAiClusterCompartment operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeai/ChangeDedicatedAiClusterCompartment.go.html to see an example of how to use ChangeDedicatedAiClusterCompartmentRequest.
19+
type ChangeDedicatedAiClusterCompartmentRequest struct {
20+
21+
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
22+
DedicatedAiClusterId *string `mandatory:"true" contributesTo:"path" name:"dedicatedAiClusterId"`
23+
24+
// The information to be updated.
25+
ChangeDedicatedAiClusterCompartmentDetails `contributesTo:"body"`
26+
27+
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
28+
// `if-match` parameter to the value of the etag from a previous GET or POST response for
29+
// that resource. The resource will be updated or deleted only if the etag you provide
30+
// matches the resource's current etag value.
31+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
32+
33+
// Unique Oracle-assigned identifier for the request. If you need to contact
34+
// Oracle about a particular request, please provide the request ID.
35+
// The only valid characters for request IDs are letters, numbers,
36+
// underscore, and dash.
37+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
38+
39+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
40+
// server error without risk of running that same action again. Retry tokens expire after 24
41+
// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
42+
// has been deleted and removed from the system, then a retry of the original creation request
43+
// might be rejected.
44+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
45+
46+
// Metadata about the request. This information will not be transmitted to the service, but
47+
// represents information that the SDK will consume to drive retry behavior.
48+
RequestMetadata common.RequestMetadata
49+
}
50+
51+
func (request ChangeDedicatedAiClusterCompartmentRequest) String() string {
52+
return common.PointerString(request)
53+
}
54+
55+
// HTTPRequest implements the OCIRequest interface
56+
func (request ChangeDedicatedAiClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
57+
58+
_, err := request.ValidateEnumValue()
59+
if err != nil {
60+
return http.Request{}, err
61+
}
62+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
63+
}
64+
65+
// BinaryRequestBody implements the OCIRequest interface
66+
func (request ChangeDedicatedAiClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
67+
68+
return nil, false
69+
70+
}
71+
72+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
73+
func (request ChangeDedicatedAiClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy {
74+
return request.RequestMetadata.RetryPolicy
75+
}
76+
77+
// ValidateEnumValue returns an error when providing an unsupported enum value
78+
// This function is being called during constructing API request process
79+
// Not recommended for calling this function directly
80+
func (request ChangeDedicatedAiClusterCompartmentRequest) ValidateEnumValue() (bool, error) {
81+
errMessage := []string{}
82+
if len(errMessage) > 0 {
83+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
84+
}
85+
return false, nil
86+
}
87+
88+
// ChangeDedicatedAiClusterCompartmentResponse wrapper for the ChangeDedicatedAiClusterCompartment operation
89+
type ChangeDedicatedAiClusterCompartmentResponse struct {
90+
91+
// The underlying http response
92+
RawResponse *http.Response
93+
94+
// Unique Oracle-assigned identifier for the request. If you need to contact
95+
// Oracle about a particular request, please provide the request ID.
96+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
97+
}
98+
99+
func (response ChangeDedicatedAiClusterCompartmentResponse) String() string {
100+
return common.PointerString(response)
101+
}
102+
103+
// HTTPResponse implements the OCIResponse interface
104+
func (response ChangeDedicatedAiClusterCompartmentResponse) HTTPResponse() *http.Response {
105+
return response.RawResponse
106+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Generative AI Service Management API
6+
//
7+
// OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.
8+
// Use the Generative AI service management API to create and manage DedicatedAiCluster, Endpoint, Model, and WorkRequest in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model.
9+
// To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the Generative AI Inference API (https://docs.cloud.oracle.com/#/en/generative-ai-inference/latest/).
10+
// To learn more about the service, see the Generative AI documentation (https://docs.cloud.oracle.com/iaas/Content/generative-ai/home.htm).
11+
//
12+
13+
package generativeai
14+
15+
import (
16+
"fmt"
17+
"github.com/oracle/oci-go-sdk/v65/common"
18+
"strings"
19+
)
20+
21+
// ChangeEndpointCompartmentDetails The details to move an endpoint to another compartment.
22+
type ChangeEndpointCompartmentDetails struct {
23+
24+
// The OCID of the compartment to move the endpoint to.
25+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
26+
}
27+
28+
func (m ChangeEndpointCompartmentDetails) String() string {
29+
return common.PointerString(m)
30+
}
31+
32+
// ValidateEnumValue returns an error when providing an unsupported enum value
33+
// This function is being called during constructing API request process
34+
// Not recommended for calling this function directly
35+
func (m ChangeEndpointCompartmentDetails) ValidateEnumValue() (bool, error) {
36+
errMessage := []string{}
37+
38+
if len(errMessage) > 0 {
39+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
40+
}
41+
return false, nil
42+
}

0 commit comments

Comments
 (0)