Skip to content

Commit bcd783d

Browse files
Releasing version 65.90.0
Releasing version 65.90.0
2 parents c6f0e48 + 36defda commit bcd783d

File tree

365 files changed

+17998
-1361
lines changed

Some content is hidden

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

365 files changed

+17998
-1361
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@ 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.90.0 - 2025-05-06
8+
### Added
9+
- Support for dry run while creating cloud exadata Infrastructure and VM clusters in the Database service
10+
- Support for filters to get latest versions on list system versions API in the Database service
11+
- Support for generic fleets without fleet type in the Fleet Application Management service
12+
- Support for creating resources and changing compartment in the Fleet Application Management service
13+
- Support for infrastructure management via provisioning with terraform based catalog items and deployments in the Fleet Application Management service
14+
- Support for platform configuration metadata management in the Fleet Application Management service
15+
- Support for managing runbook versions in the Fleet Application Management service
16+
- Support for provisioning runbooks in the Fleet Application Management service
17+
- Support for resource inventory in the Fleet Application Management service
18+
- Support for changing compartment for fleets, platforms configurations, properties, patches, runbooks and task resources in the Fleet Application Management service
19+
- Support for new migration phase in the Database migration service  
20+
21+
### Breaking Changes
22+
- The fields `ApplicationType`, `FleetType`, `GroupType`, `RuleSelectionCriteria`, and `ResourceSelectionType` have been removed from the models `CreateFleetDetails`, `Fleet`, `CreateFleetDetails` in the Fleet Application Management service
23+
- The type of `ActionGroup` has been changed from `struct` to `interface`, and all existing fields have been removed except for `DisplayName` in the Fleet Application Management service
24+
- The type of `ActionGroupDetails` has been changed from `struct` to `interface`, and all fields have been replaced with getter methods in the Fleet Application Management service
25+
- The field `TenancyId` has been removed from the model `AssociatedSchedulerDefinition` in the Fleet Application Management service
26+
- The models `LifeCycleActionGroupTypeEnum` and `MaintenanceWindowTypeEnum` have been removed in the Fleet Application Management service
27+
- The fields `MaintenanceWindowType` and `TaskInitiationCutoff` have been removed from the models `MaintenanceWindow` and `CreateMaintenanceWindowDetails` in the Fleet Application Management service
28+
- The fields `Associations` and `RunbookRelevance` have been removed from the models `CreateRunbookDetails` and `Runbook` in the Fleet Application Management service
29+
- The field `PatchType` has been removed from the models `CompliancePolicyRule` and `CompliancePolicyRuleSummary` in the Fleet Application Management service
30+
- The fields `Condition` and `RunOn` have been removed from the model `ComponentProperties` in the Fleet Application Management service
31+
- The fields `PatchType` and `CompartmentId` have been removed from the model `CreateCompliancePolicyRuleDetails` in the Fleet Application Management service
32+
- The field `Compartmentid` has been removed from the models `CreateFleetCredentialDetails`, `CreateFleetPropertyDetails`, `ListScheduledFleetsRequest`, `ListFleetPropertiesRequest, `ListFleetCredentialsRequest`, `UpdatePatchDetails` in the Fleet Application Management service
33+
- The field `ActivityInitiationCutOff` has been removed from the model `CreateSchedulerDefinitionDetails` in the Fleet Application Management service
34+
- The field `ApplicationType` has been removed from the models `FleetResource` and `FleetResourceSummary` in the Fleet Application Management service
35+
- The field `FleetType` has been removed from the model `FleetSummary` in the Fleet Application Management service
36+
- The field `Content` has been removed from the model `GenericArtifact` in the Fleet Application Management service
37+
- The field `Id` has been removed from the model `OperationRunbook` in the Fleet Application Management service
38+
- The field `OnUpcomingSchedule` has been removed from the model `Preferences` in the Fleet Application Management service
39+
- The field `Substate` has been removed from the model `ListSchedulerJobsRequest` in the Fleet Application Management service
40+
- The field `AssociatedType` has been removed from the model `Task` in the Fleet Application Management service
41+
742
## 65.89.3 - 2025-04-29
843
### Added
944
- Support for custom headers for model retirement in the Generative AI service

common/version.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

database/create_cloud_exadata_infrastructure_request_response.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ type CreateCloudExadataInfrastructureRequest struct {
3131
// Unique identifier for the request.
3232
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
3333

34+
// Indicates that the request is a dry run, if set to "true". A dry run request does not actually
35+
// creating or updating a resource and is used only to perform validation on the submitted data.
36+
OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"`
37+
3438
// Metadata about the request. This information will not be transmitted to the service, but
3539
// represents information that the SDK will consume to drive retry behavior.
3640
RequestMetadata common.RequestMetadata

database/create_cloud_vm_cluster_request_response.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ type CreateCloudVmClusterRequest struct {
3131
// Unique identifier for the request.
3232
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
3333

34+
// Indicates that the request is a dry run, if set to "true". A dry run request does not actually
35+
// creating or updating a resource and is used only to perform validation on the submitted data.
36+
OpcDryRun *bool `mandatory:"false" contributesTo:"header" name:"opc-dry-run"`
37+
3438
// Metadata about the request. This information will not be transmitted to the service, but
3539
// represents information that the SDK will consume to drive retry behavior.
3640
RequestMetadata common.RequestMetadata

database/database_client.go

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18376,6 +18376,63 @@ func (client DatabaseClient) listSchedulingWindows(ctx context.Context, request
1837618376
return response, err
1837718377
}
1837818378

18379+
// ListSystemVersionMinorVersions Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a `shape` or `resourceId` value.
18380+
//
18381+
// # See also
18382+
//
18383+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListSystemVersionMinorVersions.go.html to see an example of how to use ListSystemVersionMinorVersions API.
18384+
func (client DatabaseClient) ListSystemVersionMinorVersions(ctx context.Context, request ListSystemVersionMinorVersionsRequest) (response ListSystemVersionMinorVersionsResponse, err error) {
18385+
var ociResponse common.OCIResponse
18386+
policy := common.NoRetryPolicy()
18387+
if client.RetryPolicy() != nil {
18388+
policy = *client.RetryPolicy()
18389+
}
18390+
if request.RetryPolicy() != nil {
18391+
policy = *request.RetryPolicy()
18392+
}
18393+
ociResponse, err = common.Retry(ctx, request, client.listSystemVersionMinorVersions, policy)
18394+
if err != nil {
18395+
if ociResponse != nil {
18396+
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
18397+
opcRequestId := httpResponse.Header.Get("opc-request-id")
18398+
response = ListSystemVersionMinorVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
18399+
} else {
18400+
response = ListSystemVersionMinorVersionsResponse{}
18401+
}
18402+
}
18403+
return
18404+
}
18405+
if convertedResponse, ok := ociResponse.(ListSystemVersionMinorVersionsResponse); ok {
18406+
response = convertedResponse
18407+
} else {
18408+
err = fmt.Errorf("failed to convert OCIResponse into ListSystemVersionMinorVersionsResponse")
18409+
}
18410+
return
18411+
}
18412+
18413+
// listSystemVersionMinorVersions implements the OCIOperation interface (enables retrying operations)
18414+
func (client DatabaseClient) listSystemVersionMinorVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
18415+
18416+
httpRequest, err := request.HTTPRequest(http.MethodGet, "/systemVersions/{majorVersion}/minorVersions", binaryReqBody, extraHeaders)
18417+
if err != nil {
18418+
return nil, err
18419+
}
18420+
18421+
var response ListSystemVersionMinorVersionsResponse
18422+
var httpResponse *http.Response
18423+
httpResponse, err = client.Call(ctx, &httpRequest)
18424+
defer common.CloseBodyIfValid(httpResponse)
18425+
response.RawResponse = httpResponse
18426+
if err != nil {
18427+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/SystemVersionMinorVersionCollection/ListSystemVersionMinorVersions"
18428+
err = common.PostProcessServiceError(err, "Database", "ListSystemVersionMinorVersions", apiReferenceLink)
18429+
return response, err
18430+
}
18431+
18432+
err = common.UnmarshalResponse(httpResponse, &response)
18433+
return response, err
18434+
}
18435+
1837918436
// ListSystemVersions Gets a list of supported Exadata system versions for a given shape and GI version.
1838018437
//
1838118438
// # See also

database/list_gi_versions_request_response.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ type ListGiVersionsRequest struct {
3636
// The target availability domain. Only passed if the limit is AD-specific.
3737
AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`
3838

39+
// If provided, filters the results for the specified resource Id.
40+
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
41+
3942
// Unique Oracle-assigned identifier for the request.
4043
// If you need to contact Oracle about a particular request, please provide the request ID.
4144
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
// Copyright (c) 2016, 2018, 2025, 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 database
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// ListSystemVersionMinorVersionsRequest wrapper for the ListSystemVersionMinorVersions operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListSystemVersionMinorVersions.go.html to see an example of how to use ListSystemVersionMinorVersionsRequest.
19+
type ListSystemVersionMinorVersionsRequest struct {
20+
21+
// The System major version.
22+
MajorVersion *string `mandatory:"true" contributesTo:"path" name:"majorVersion"`
23+
24+
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
25+
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
26+
27+
// Specifies gi version query parameter.
28+
GiVersion *string `mandatory:"true" contributesTo:"query" name:"giVersion"`
29+
30+
// The maximum number of items to return per page.
31+
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
32+
33+
// The pagination token to continue listing from.
34+
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
35+
36+
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
37+
SortOrder ListSystemVersionMinorVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
38+
39+
// Unique identifier for the request.
40+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
41+
42+
// If provided, filters the results for the given shape.
43+
Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`
44+
45+
// If provided, filters the results for the specified resource Id.
46+
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
47+
48+
// If provided, return highest versions from each major version family.
49+
IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"`
50+
51+
// Metadata about the request. This information will not be transmitted to the service, but
52+
// represents information that the SDK will consume to drive retry behavior.
53+
RequestMetadata common.RequestMetadata
54+
}
55+
56+
func (request ListSystemVersionMinorVersionsRequest) String() string {
57+
return common.PointerString(request)
58+
}
59+
60+
// HTTPRequest implements the OCIRequest interface
61+
func (request ListSystemVersionMinorVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
62+
63+
_, err := request.ValidateEnumValue()
64+
if err != nil {
65+
return http.Request{}, err
66+
}
67+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
68+
}
69+
70+
// BinaryRequestBody implements the OCIRequest interface
71+
func (request ListSystemVersionMinorVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
72+
73+
return nil, false
74+
75+
}
76+
77+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
78+
func (request ListSystemVersionMinorVersionsRequest) RetryPolicy() *common.RetryPolicy {
79+
return request.RequestMetadata.RetryPolicy
80+
}
81+
82+
// ValidateEnumValue returns an error when providing an unsupported enum value
83+
// This function is being called during constructing API request process
84+
// Not recommended for calling this function directly
85+
func (request ListSystemVersionMinorVersionsRequest) ValidateEnumValue() (bool, error) {
86+
errMessage := []string{}
87+
if _, ok := GetMappingListSystemVersionMinorVersionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" {
88+
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListSystemVersionMinorVersionsSortOrderEnumStringValues(), ",")))
89+
}
90+
if len(errMessage) > 0 {
91+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
92+
}
93+
return false, nil
94+
}
95+
96+
// ListSystemVersionMinorVersionsResponse wrapper for the ListSystemVersionMinorVersions operation
97+
type ListSystemVersionMinorVersionsResponse struct {
98+
99+
// The underlying http response
100+
RawResponse *http.Response
101+
102+
// A list of SystemVersionMinorVersionCollection instances
103+
SystemVersionMinorVersionCollection `presentIn:"body"`
104+
105+
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
106+
// a particular request, please provide the request ID.
107+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
108+
109+
// For pagination of a list of items. When paging through a list, if this header appears in the response,
110+
// then there are additional items still to get. Include this value as the `page` parameter for the
111+
// subsequent GET request. For information about pagination, see
112+
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
113+
OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
114+
}
115+
116+
func (response ListSystemVersionMinorVersionsResponse) String() string {
117+
return common.PointerString(response)
118+
}
119+
120+
// HTTPResponse implements the OCIResponse interface
121+
func (response ListSystemVersionMinorVersionsResponse) HTTPResponse() *http.Response {
122+
return response.RawResponse
123+
}
124+
125+
// ListSystemVersionMinorVersionsSortOrderEnum Enum with underlying type: string
126+
type ListSystemVersionMinorVersionsSortOrderEnum string
127+
128+
// Set of constants representing the allowable values for ListSystemVersionMinorVersionsSortOrderEnum
129+
const (
130+
ListSystemVersionMinorVersionsSortOrderAsc ListSystemVersionMinorVersionsSortOrderEnum = "ASC"
131+
ListSystemVersionMinorVersionsSortOrderDesc ListSystemVersionMinorVersionsSortOrderEnum = "DESC"
132+
)
133+
134+
var mappingListSystemVersionMinorVersionsSortOrderEnum = map[string]ListSystemVersionMinorVersionsSortOrderEnum{
135+
"ASC": ListSystemVersionMinorVersionsSortOrderAsc,
136+
"DESC": ListSystemVersionMinorVersionsSortOrderDesc,
137+
}
138+
139+
var mappingListSystemVersionMinorVersionsSortOrderEnumLowerCase = map[string]ListSystemVersionMinorVersionsSortOrderEnum{
140+
"asc": ListSystemVersionMinorVersionsSortOrderAsc,
141+
"desc": ListSystemVersionMinorVersionsSortOrderDesc,
142+
}
143+
144+
// GetListSystemVersionMinorVersionsSortOrderEnumValues Enumerates the set of values for ListSystemVersionMinorVersionsSortOrderEnum
145+
func GetListSystemVersionMinorVersionsSortOrderEnumValues() []ListSystemVersionMinorVersionsSortOrderEnum {
146+
values := make([]ListSystemVersionMinorVersionsSortOrderEnum, 0)
147+
for _, v := range mappingListSystemVersionMinorVersionsSortOrderEnum {
148+
values = append(values, v)
149+
}
150+
return values
151+
}
152+
153+
// GetListSystemVersionMinorVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListSystemVersionMinorVersionsSortOrderEnum
154+
func GetListSystemVersionMinorVersionsSortOrderEnumStringValues() []string {
155+
return []string{
156+
"ASC",
157+
"DESC",
158+
}
159+
}
160+
161+
// GetMappingListSystemVersionMinorVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
162+
func GetMappingListSystemVersionMinorVersionsSortOrderEnum(val string) (ListSystemVersionMinorVersionsSortOrderEnum, bool) {
163+
enum, ok := mappingListSystemVersionMinorVersionsSortOrderEnumLowerCase[strings.ToLower(val)]
164+
return enum, ok
165+
}

database/list_system_versions_request_response.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ type ListSystemVersionsRequest struct {
2121
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
2222
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
2323

24-
// Specifies shape query parameter.
25-
Shape *string `mandatory:"true" contributesTo:"query" name:"shape"`
26-
2724
// Specifies gi version query parameter.
2825
GiVersion *string `mandatory:"true" contributesTo:"query" name:"giVersion"`
2926

@@ -39,6 +36,15 @@ type ListSystemVersionsRequest struct {
3936
// Unique identifier for the request.
4037
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
4138

39+
// If provided, filters the results for the given shape.
40+
Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`
41+
42+
// If provided, return highest versions from each major version family.
43+
IsLatest *bool `mandatory:"false" contributesTo:"query" name:"isLatest"`
44+
45+
// If provided, filters the results for the specified resource Id.
46+
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
47+
4248
// Metadata about the request. This information will not be transmitted to the service, but
4349
// represents information that the SDK will consume to drive retry behavior.
4450
RequestMetadata common.RequestMetadata
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Copyright (c) 2016, 2018, 2025, 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+
// Database Service API
6+
//
7+
// 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.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm).
8+
//
9+
10+
package database
11+
12+
import (
13+
"fmt"
14+
"github.com/oracle/oci-go-sdk/v65/common"
15+
"strings"
16+
)
17+
18+
// SystemVersionMinorVersionCollection Results of the System minor version lists. Contains SystemVersionMinorVersionSummary items.
19+
type SystemVersionMinorVersionCollection struct {
20+
21+
// List of System minor versions.
22+
Items []SystemVersionMinorVersionSummary `mandatory:"true" json:"items"`
23+
}
24+
25+
func (m SystemVersionMinorVersionCollection) String() string {
26+
return common.PointerString(m)
27+
}
28+
29+
// ValidateEnumValue returns an error when providing an unsupported enum value
30+
// This function is being called during constructing API request process
31+
// Not recommended for calling this function directly
32+
func (m SystemVersionMinorVersionCollection) ValidateEnumValue() (bool, error) {
33+
errMessage := []string{}
34+
35+
if len(errMessage) > 0 {
36+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
37+
}
38+
return false, nil
39+
}

0 commit comments

Comments
 (0)