diff --git a/CHANGELOG.md b/CHANGELOG.md index f6765e1d34..e9d0ac890d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) +## 65.69.0 - 2024-07-02 +### Added +- Support for calling Oracle Cloud Infrastructure services in the `ap-singapore-2` region +- Support for additional parameters in list and delete operations in the File Storage service +- Support for host capacity planning to analyze disabled and deleted resources in the Operations Insights service +- Support for title and description updates in the Capacity Management service +- Support for listing parameters for migrations in the Database Migration service +- Support for Oracle exadata database service on exascale Infrastructure (ExaDB-XS) in the Database service + +### Breaking Changes +- The Enum `HostInsightHostRecommendationsMetricRecommendationNameHostCpuRecommendations` was renamed to `HostInsightHostRecommendationsMetricRecommendationNameCpuRecommendations` in the Operations Insights service + + ## 65.68.0 - 2024-06-25 ### Added - Support for MySQL to MySQL homogeneous migrations in the Database Migration service diff --git a/capacitymanagement/capacitymanagement_client.go b/capacitymanagement/capacitymanagement_client.go index cf7f83aa43..aff22fb477 100644 --- a/capacitymanagement/capacitymanagement_client.go +++ b/capacitymanagement/capacitymanagement_client.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement @@ -145,7 +145,7 @@ func (client CapacityManagementClient) createOccAvailabilityCatalog(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/CreateOccAvailabilityCatalog" err = common.PostProcessServiceError(err, "CapacityManagement", "CreateOccAvailabilityCatalog", apiReferenceLink) return response, err } @@ -208,7 +208,7 @@ func (client CapacityManagementClient) createOccCapacityRequest(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/CreateOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "CreateOccCapacityRequest", apiReferenceLink) return response, err } @@ -266,7 +266,7 @@ func (client CapacityManagementClient) deleteOccAvailabilityCatalog(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/DeleteOccAvailabilityCatalog" err = common.PostProcessServiceError(err, "CapacityManagement", "DeleteOccAvailabilityCatalog", apiReferenceLink) return response, err } @@ -324,7 +324,7 @@ func (client CapacityManagementClient) deleteOccCapacityRequest(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/DeleteOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "DeleteOccCapacityRequest", apiReferenceLink) return response, err } @@ -382,7 +382,7 @@ func (client CapacityManagementClient) getOccAvailabilityCatalog(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/GetOccAvailabilityCatalog" err = common.PostProcessServiceError(err, "CapacityManagement", "GetOccAvailabilityCatalog", apiReferenceLink) return response, err } @@ -444,7 +444,7 @@ func (client CapacityManagementClient) getOccAvailabilityCatalogContent(ctx cont httpResponse, err = client.Call(ctx, &httpRequest) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/GetOccAvailabilityCatalogContent" err = common.PostProcessServiceError(err, "CapacityManagement", "GetOccAvailabilityCatalogContent", apiReferenceLink) return response, err } @@ -502,7 +502,7 @@ func (client CapacityManagementClient) getOccCapacityRequest(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/GetOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "GetOccCapacityRequest", apiReferenceLink) return response, err } @@ -560,7 +560,7 @@ func (client CapacityManagementClient) getOccCustomerGroup(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCustomerGroup/GetOccCustomerGroup" err = common.PostProcessServiceError(err, "CapacityManagement", "GetOccCustomerGroup", apiReferenceLink) return response, err } @@ -618,7 +618,7 @@ func (client CapacityManagementClient) listInternalNamespaceOccOverviews(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccOverviewCollection/ListInternalNamespaceOccOverviews" err = common.PostProcessServiceError(err, "CapacityManagement", "ListInternalNamespaceOccOverviews", apiReferenceLink) return response, err } @@ -676,7 +676,7 @@ func (client CapacityManagementClient) listOccAvailabilities(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCollection/ListOccAvailabilities" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccAvailabilities", apiReferenceLink) return response, err } @@ -734,7 +734,7 @@ func (client CapacityManagementClient) listOccAvailabilityCatalogs(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalogCollection/ListOccAvailabilityCatalogs" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccAvailabilityCatalogs", apiReferenceLink) return response, err } @@ -792,7 +792,7 @@ func (client CapacityManagementClient) listOccAvailabilityCatalogsInternal(ctx c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalogCollection/ListOccAvailabilityCatalogsInternal" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccAvailabilityCatalogsInternal", apiReferenceLink) return response, err } @@ -850,7 +850,7 @@ func (client CapacityManagementClient) listOccCapacityRequests(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequestCollection/ListOccCapacityRequests" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccCapacityRequests", apiReferenceLink) return response, err } @@ -908,7 +908,7 @@ func (client CapacityManagementClient) listOccCapacityRequestsInternal(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequestCollection/ListOccCapacityRequestsInternal" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccCapacityRequestsInternal", apiReferenceLink) return response, err } @@ -966,7 +966,7 @@ func (client CapacityManagementClient) listOccCustomerGroups(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCustomerGroupCollection/ListOccCustomerGroups" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccCustomerGroups", apiReferenceLink) return response, err } @@ -1024,7 +1024,7 @@ func (client CapacityManagementClient) listOccOverviews(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccOverviewCollection/ListOccOverviews" err = common.PostProcessServiceError(err, "CapacityManagement", "ListOccOverviews", apiReferenceLink) return response, err } @@ -1082,7 +1082,7 @@ func (client CapacityManagementClient) patchInternalOccCapacityRequest(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/PatchInternalOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "PatchInternalOccCapacityRequest", apiReferenceLink) return response, err } @@ -1140,7 +1140,7 @@ func (client CapacityManagementClient) patchOccCapacityRequest(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/PatchOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "PatchOccCapacityRequest", apiReferenceLink) return response, err } @@ -1203,7 +1203,7 @@ func (client CapacityManagementClient) publishOccAvailabilityCatalog(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/PublishOccAvailabilityCatalog" err = common.PostProcessServiceError(err, "CapacityManagement", "PublishOccAvailabilityCatalog", apiReferenceLink) return response, err } @@ -1261,7 +1261,7 @@ func (client CapacityManagementClient) updateInternalOccCapacityRequest(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/UpdateInternalOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "UpdateInternalOccCapacityRequest", apiReferenceLink) return response, err } @@ -1319,7 +1319,7 @@ func (client CapacityManagementClient) updateOccAvailabilityCatalog(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccAvailabilityCatalog/UpdateOccAvailabilityCatalog" err = common.PostProcessServiceError(err, "CapacityManagement", "UpdateOccAvailabilityCatalog", apiReferenceLink) return response, err } @@ -1377,7 +1377,7 @@ func (client CapacityManagementClient) updateOccCapacityRequest(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/occcm/20231107/OccCapacityRequest/UpdateOccCapacityRequest" err = common.PostProcessServiceError(err, "CapacityManagement", "UpdateOccCapacityRequest", apiReferenceLink) return response, err } diff --git a/capacitymanagement/create_occ_availability_catalog_details.go b/capacitymanagement/create_occ_availability_catalog_details.go index 1539152a51..07565ed241 100644 --- a/capacitymanagement/create_occ_availability_catalog_details.go +++ b/capacitymanagement/create_occ_availability_catalog_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/create_occ_capacity_request_details.go b/capacitymanagement/create_occ_capacity_request_details.go index 3c146ce72c..cf0a8d4aa1 100644 --- a/capacitymanagement/create_occ_capacity_request_details.go +++ b/capacitymanagement/create_occ_capacity_request_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/metadata_details.go b/capacitymanagement/metadata_details.go index 4c2f5a300c..4c629e1996 100644 --- a/capacitymanagement/metadata_details.go +++ b/capacitymanagement/metadata_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/namespace.go b/capacitymanagement/namespace.go index e7c3b36955..367d4d4701 100644 --- a/capacitymanagement/namespace.go +++ b/capacitymanagement/namespace.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_availability_catalog.go b/capacitymanagement/occ_availability_catalog.go index 95a5673f0b..5fdb6ca6b0 100644 --- a/capacitymanagement/occ_availability_catalog.go +++ b/capacitymanagement/occ_availability_catalog.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_availability_catalog_collection.go b/capacitymanagement/occ_availability_catalog_collection.go index b8ccf24749..7544732984 100644 --- a/capacitymanagement/occ_availability_catalog_collection.go +++ b/capacitymanagement/occ_availability_catalog_collection.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_availability_catalog_summary.go b/capacitymanagement/occ_availability_catalog_summary.go index 86a84e248b..d1beebdb8a 100644 --- a/capacitymanagement/occ_availability_catalog_summary.go +++ b/capacitymanagement/occ_availability_catalog_summary.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_availability_collection.go b/capacitymanagement/occ_availability_collection.go index 47e0095c0e..8227c976f0 100644 --- a/capacitymanagement/occ_availability_collection.go +++ b/capacitymanagement/occ_availability_collection.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_availability_summary.go b/capacitymanagement/occ_availability_summary.go index a683c687ed..8e419f2643 100644 --- a/capacitymanagement/occ_availability_summary.go +++ b/capacitymanagement/occ_availability_summary.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_capacity_request.go b/capacitymanagement/occ_capacity_request.go index 8132c59463..ed62c31608 100644 --- a/capacitymanagement/occ_capacity_request.go +++ b/capacitymanagement/occ_capacity_request.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_capacity_request_base_details.go b/capacitymanagement/occ_capacity_request_base_details.go index eb828ee162..fe11685b86 100644 --- a/capacitymanagement/occ_capacity_request_base_details.go +++ b/capacitymanagement/occ_capacity_request_base_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_capacity_request_collection.go b/capacitymanagement/occ_capacity_request_collection.go index 8d29bfacf6..3ac66cc228 100644 --- a/capacitymanagement/occ_capacity_request_collection.go +++ b/capacitymanagement/occ_capacity_request_collection.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_capacity_request_summary.go b/capacitymanagement/occ_capacity_request_summary.go index d244601fee..650bbc82cd 100644 --- a/capacitymanagement/occ_capacity_request_summary.go +++ b/capacitymanagement/occ_capacity_request_summary.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_customer.go b/capacitymanagement/occ_customer.go index 62534eb024..02a21cc24c 100644 --- a/capacitymanagement/occ_customer.go +++ b/capacitymanagement/occ_customer.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_customer_group.go b/capacitymanagement/occ_customer_group.go index 0763f5198a..f4954b5cd5 100644 --- a/capacitymanagement/occ_customer_group.go +++ b/capacitymanagement/occ_customer_group.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_customer_group_collection.go b/capacitymanagement/occ_customer_group_collection.go index 10a0aff93f..81d52c802a 100644 --- a/capacitymanagement/occ_customer_group_collection.go +++ b/capacitymanagement/occ_customer_group_collection.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_customer_group_summary.go b/capacitymanagement/occ_customer_group_summary.go index a50a294258..dfcdd3ca5b 100644 --- a/capacitymanagement/occ_customer_group_summary.go +++ b/capacitymanagement/occ_customer_group_summary.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_overview_collection.go b/capacitymanagement/occ_overview_collection.go index 1c5a38467c..0006877102 100644 --- a/capacitymanagement/occ_overview_collection.go +++ b/capacitymanagement/occ_overview_collection.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/occ_overview_summary.go b/capacitymanagement/occ_overview_summary.go index d2d258e377..31da09f32f 100644 --- a/capacitymanagement/occ_overview_summary.go +++ b/capacitymanagement/occ_overview_summary.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_insert_instruction.go b/capacitymanagement/patch_insert_instruction.go index 377319c6a8..3d14c48b9d 100644 --- a/capacitymanagement/patch_insert_instruction.go +++ b/capacitymanagement/patch_insert_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_insert_multiple_instruction.go b/capacitymanagement/patch_insert_multiple_instruction.go index fea25cc6ad..6c3e627fac 100644 --- a/capacitymanagement/patch_insert_multiple_instruction.go +++ b/capacitymanagement/patch_insert_multiple_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_instruction.go b/capacitymanagement/patch_instruction.go index 21b415834c..c4e5e74056 100644 --- a/capacitymanagement/patch_instruction.go +++ b/capacitymanagement/patch_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_merge_instruction.go b/capacitymanagement/patch_merge_instruction.go index 6600bf2aa2..a61e0535a0 100644 --- a/capacitymanagement/patch_merge_instruction.go +++ b/capacitymanagement/patch_merge_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_move_instruction.go b/capacitymanagement/patch_move_instruction.go index dd1286b85d..900c333c28 100644 --- a/capacitymanagement/patch_move_instruction.go +++ b/capacitymanagement/patch_move_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_occ_capacity_request_details.go b/capacitymanagement/patch_occ_capacity_request_details.go index 044d178923..96870d6b39 100644 --- a/capacitymanagement/patch_occ_capacity_request_details.go +++ b/capacitymanagement/patch_occ_capacity_request_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_prohibit_instruction.go b/capacitymanagement/patch_prohibit_instruction.go index 6365803ff0..5075a600ee 100644 --- a/capacitymanagement/patch_prohibit_instruction.go +++ b/capacitymanagement/patch_prohibit_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_remove_instruction.go b/capacitymanagement/patch_remove_instruction.go index 1f4cfaddcc..14c443b276 100644 --- a/capacitymanagement/patch_remove_instruction.go +++ b/capacitymanagement/patch_remove_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_replace_instruction.go b/capacitymanagement/patch_replace_instruction.go index eceffb26f3..cb6a7045cc 100644 --- a/capacitymanagement/patch_replace_instruction.go +++ b/capacitymanagement/patch_replace_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/patch_require_instruction.go b/capacitymanagement/patch_require_instruction.go index 3f85328b81..ce9b5f84f8 100644 --- a/capacitymanagement/patch_require_instruction.go +++ b/capacitymanagement/patch_require_instruction.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/sort_order.go b/capacitymanagement/sort_order.go index 1f2cd1537b..ee8daf2911 100644 --- a/capacitymanagement/sort_order.go +++ b/capacitymanagement/sort_order.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/update_internal_occ_capacity_request_details.go b/capacitymanagement/update_internal_occ_capacity_request_details.go index e44b4647e5..f119cc7542 100644 --- a/capacitymanagement/update_internal_occ_capacity_request_details.go +++ b/capacitymanagement/update_internal_occ_capacity_request_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/update_occ_availability_catalog_details.go b/capacitymanagement/update_occ_availability_catalog_details.go index 48d8bd4388..b367e50b1d 100644 --- a/capacitymanagement/update_occ_availability_catalog_details.go +++ b/capacitymanagement/update_occ_availability_catalog_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/capacitymanagement/update_occ_capacity_request_details.go b/capacitymanagement/update_occ_capacity_request_details.go index 24a3066cac..2f0aa761c5 100644 --- a/capacitymanagement/update_occ_capacity_request_details.go +++ b/capacitymanagement/update_occ_capacity_request_details.go @@ -2,9 +2,9 @@ // 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. -// OciControlCenterCp API +// OCI Control Center Capacity Management API // -// A description of the OciControlCenterCp API +// OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available. For more information, see OCI Control Center (https://docs.cloud.oracle.com/iaas/Content/control-center/home.htm). // package capacitymanagement diff --git a/common/regions.go b/common/regions.go index 274c44d5c9..c4cf19005d 100644 --- a/common/regions.go +++ b/common/regions.go @@ -80,6 +80,8 @@ const ( RegionSABogota1 Region = "sa-bogota-1" //RegionSAValparaiso1 region Valparaiso RegionSAValparaiso1 Region = "sa-valparaiso-1" + //RegionAPSingapore2 region Singapore + RegionAPSingapore2 Region = "ap-singapore-2" //RegionUSLangley1 region Langley RegionUSLangley1 Region = "us-langley-1" //RegionUSLuke1 region Luke @@ -169,6 +171,7 @@ var shortNameRegion = map[string]Region{ "aga": RegionUSSaltlake2, "bog": RegionSABogota1, "vap": RegionSAValparaiso1, + "xsp": RegionAPSingapore2, "lfi": RegionUSLangley1, "luf": RegionUSLuke1, "ric": RegionUSGovAshburn1, @@ -251,6 +254,7 @@ var regionRealm = map[Region]string{ RegionUSSaltlake2: "oc1", RegionSABogota1: "oc1", RegionSAValparaiso1: "oc1", + RegionAPSingapore2: "oc1", RegionUSLangley1: "oc2", RegionUSLuke1: "oc2", diff --git a/common/regions.json b/common/regions.json index 6bb858e393..a97061f42e 100644 --- a/common/regions.json +++ b/common/regions.json @@ -370,5 +370,11 @@ "realmKey": "oc15", "regionIdentifier": "ap-dcc-gazipur-1", "realmDomainComponent": "oraclecloud15.com" + }, + { + "regionKey": "xsp", + "realmKey": "oc1", + "regionIdentifier": "ap-singapore-2", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/common/version.go b/common/version.go index dc78ac19bd..c8849f7ff6 100644 --- a/common/version.go +++ b/common/version.go @@ -12,7 +12,7 @@ import ( const ( major = "65" - minor = "68" + minor = "69" patch = "0" tag = "" ) diff --git a/database/autonomous_container_database.go b/database/autonomous_container_database.go index 62783e8e7c..f271095572 100644 --- a/database/autonomous_container_database.go +++ b/database/autonomous_container_database.go @@ -96,7 +96,7 @@ type AutonomousContainerDatabase struct { // Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner. IsDstFileUpdateEnabled *bool `mandatory:"false" json:"isDstFileUpdateEnabled"` - // DST Time-zone File version of the Autonomous Container Database. + // DST Time-Zone File version of the Autonomous Container Database. DstFileVersion *string `mandatory:"false" json:"dstFileVersion"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/database/autonomous_container_database_summary.go b/database/autonomous_container_database_summary.go index 47193a8656..9d367ee4cc 100644 --- a/database/autonomous_container_database_summary.go +++ b/database/autonomous_container_database_summary.go @@ -96,7 +96,7 @@ type AutonomousContainerDatabaseSummary struct { // Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner. IsDstFileUpdateEnabled *bool `mandatory:"false" json:"isDstFileUpdateEnabled"` - // DST Time-zone File version of the Autonomous Container Database. + // DST Time-Zone File version of the Autonomous Container Database. DstFileVersion *string `mandatory:"false" json:"dstFileVersion"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/database/autonomous_database.go b/database/autonomous_database.go index 935053aa56..ca32f86b05 100644 --- a/database/autonomous_database.go +++ b/database/autonomous_database.go @@ -31,6 +31,9 @@ type AutonomousDatabase struct { DbName *string `mandatory:"true" json:"dbName"` // The quantity of data in the database, in terabytes. + // The following points apply to Autonomous Databases on Serverless Infrastructure: + // - This is an integer field whose value remains null when the data size is in GBs and cannot be converted to TBs (by dividing the GB value by 1024) without rounding error. + // - To get the exact value of data storage size without rounding error, please see `dataStorageSizeInGBs` of Autonomous Database. DataStorageSizeInTBs *int `mandatory:"true" json:"dataStorageSizeInTBs"` // Information about the current lifecycle state. @@ -122,6 +125,7 @@ type AutonomousDatabase struct { MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"` // The quantity of data in the database, in gigabytes. + // For Autonomous Transaction Processing databases using ECPUs on Serverless Infrastructure, this value is always populated. In all the other cases, this value will be null and `dataStorageSizeInTBs` will be populated instead. DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"` // The storage space consumed by Autonomous Database in GBs. @@ -160,7 +164,7 @@ type AutonomousDatabase struct { // This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. LicenseModel AutonomousDatabaseLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` - // The amount of storage that has been used, in terabytes. + // The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, in terabytes. UsedDataStorageSizeInTBs *int `mandatory:"false" json:"usedDataStorageSizeInTBs"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/database/autonomous_database_backup_summary.go b/database/autonomous_database_backup_summary.go index 9fd2366520..54a3c09b7f 100644 --- a/database/autonomous_database_backup_summary.go +++ b/database/autonomous_database_backup_summary.go @@ -17,6 +17,7 @@ import ( // AutonomousDatabaseBackupSummary An Autonomous Database backup. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +// // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type AutonomousDatabaseBackupSummary struct { diff --git a/database/autonomous_database_summary.go b/database/autonomous_database_summary.go index edf023493b..1e4ff9956a 100644 --- a/database/autonomous_database_summary.go +++ b/database/autonomous_database_summary.go @@ -16,6 +16,7 @@ import ( ) // AutonomousDatabaseSummary An Oracle Autonomous Database. +// // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type AutonomousDatabaseSummary struct { @@ -32,6 +33,9 @@ type AutonomousDatabaseSummary struct { DbName *string `mandatory:"true" json:"dbName"` // The quantity of data in the database, in terabytes. + // The following points apply to Autonomous Databases on Serverless Infrastructure: + // - This is an integer field whose value remains null when the data size is in GBs and cannot be converted to TBs (by dividing the GB value by 1024) without rounding error. + // - To get the exact value of data storage size without rounding error, please see `dataStorageSizeInGBs` of Autonomous Database. DataStorageSizeInTBs *int `mandatory:"true" json:"dataStorageSizeInTBs"` // Information about the current lifecycle state. @@ -123,6 +127,7 @@ type AutonomousDatabaseSummary struct { MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"` // The quantity of data in the database, in gigabytes. + // For Autonomous Transaction Processing databases using ECPUs on Serverless Infrastructure, this value is always populated. In all the other cases, this value will be null and `dataStorageSizeInTBs` will be populated instead. DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"` // The storage space consumed by Autonomous Database in GBs. @@ -161,7 +166,7 @@ type AutonomousDatabaseSummary struct { // This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. LicenseModel AutonomousDatabaseSummaryLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` - // The amount of storage that has been used, in terabytes. + // The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, in terabytes. UsedDataStorageSizeInTBs *int `mandatory:"false" json:"usedDataStorageSizeInTBs"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/database/change_exadb_vm_cluster_compartment_details.go b/database/change_exadb_vm_cluster_compartment_details.go new file mode 100644 index 0000000000..6cb4f26aaf --- /dev/null +++ b/database/change_exadb_vm_cluster_compartment_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeExadbVmClusterCompartmentDetails The configuration details for moving the Exadata VM cluster on Exascale Infrastructure to another compartment. Applies to Exadata Database Service on Exascale Infrastructure only. +type ChangeExadbVmClusterCompartmentDetails struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeExadbVmClusterCompartmentDetails) 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 ChangeExadbVmClusterCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/change_exadb_vm_cluster_compartment_request_response.go b/database/change_exadb_vm_cluster_compartment_request_response.go new file mode 100644 index 0000000000..5cf8a73130 --- /dev/null +++ b/database/change_exadb_vm_cluster_compartment_request_response.go @@ -0,0 +1,105 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeExadbVmClusterCompartmentRequest wrapper for the ChangeExadbVmClusterCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ChangeExadbVmClusterCompartment.go.html to see an example of how to use ChangeExadbVmClusterCompartmentRequest. +type ChangeExadbVmClusterCompartmentRequest struct { + + // Request to move Exadata VM cluster on Exascale Infrastructure to a different compartment + ChangeExadbVmClusterCompartmentDetails `contributesTo:"body"` + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // 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 +} + +func (request ChangeExadbVmClusterCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeExadbVmClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeExadbVmClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeExadbVmClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ChangeExadbVmClusterCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeExadbVmClusterCompartmentResponse wrapper for the ChangeExadbVmClusterCompartment operation +type ChangeExadbVmClusterCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // 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"` + + // 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"` +} + +func (response ChangeExadbVmClusterCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeExadbVmClusterCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/change_exascale_db_storage_vault_compartment_details.go b/database/change_exascale_db_storage_vault_compartment_details.go new file mode 100644 index 0000000000..f8ec18fdfa --- /dev/null +++ b/database/change_exascale_db_storage_vault_compartment_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeExascaleDbStorageVaultCompartmentDetails The configuration details for moving the Exadata Database Storage Vault to another compartment. +type ChangeExascaleDbStorageVaultCompartmentDetails struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeExascaleDbStorageVaultCompartmentDetails) 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 ChangeExascaleDbStorageVaultCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/change_exascale_db_storage_vault_compartment_request_response.go b/database/change_exascale_db_storage_vault_compartment_request_response.go new file mode 100644 index 0000000000..dd320688e0 --- /dev/null +++ b/database/change_exascale_db_storage_vault_compartment_request_response.go @@ -0,0 +1,105 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeExascaleDbStorageVaultCompartmentRequest wrapper for the ChangeExascaleDbStorageVaultCompartment operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ChangeExascaleDbStorageVaultCompartment.go.html to see an example of how to use ChangeExascaleDbStorageVaultCompartmentRequest. +type ChangeExascaleDbStorageVaultCompartmentRequest struct { + + // Request to move Exadata Database Storage Vault to a different compartment + ChangeExascaleDbStorageVaultCompartmentDetails `contributesTo:"body"` + + // The Exadata Database Storage Vault OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + ExascaleDbStorageVaultId *string `mandatory:"true" contributesTo:"path" name:"exascaleDbStorageVaultId"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // 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 +} + +func (request ChangeExascaleDbStorageVaultCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeExascaleDbStorageVaultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeExascaleDbStorageVaultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeExascaleDbStorageVaultCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ChangeExascaleDbStorageVaultCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeExascaleDbStorageVaultCompartmentResponse wrapper for the ChangeExascaleDbStorageVaultCompartment operation +type ChangeExascaleDbStorageVaultCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // 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"` + + // 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"` +} + +func (response ChangeExascaleDbStorageVaultCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeExascaleDbStorageVaultCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/cloud_automation_apply_update_time_preference.go b/database/cloud_automation_apply_update_time_preference.go new file mode 100644 index 0000000000..53b909326e --- /dev/null +++ b/database/cloud_automation_apply_update_time_preference.go @@ -0,0 +1,42 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CloudAutomationApplyUpdateTimePreference Configure the time slot for applying VM cloud automation software updates to the cluster. When nothing is selected, the default time slot is 12 AM to 2 AM UTC. Any 2-hour slot is available starting at 12 AM. +type CloudAutomationApplyUpdateTimePreference struct { + + // Start time for polling VM cloud automation software updates for the cluster. If the startTime is not specified, 12 AM UTC is used by default. + ApplyUpdatePreferredStartTime *string `mandatory:"false" json:"applyUpdatePreferredStartTime"` + + // End time for polling VM cloud automation software updates for the cluster. If the endTime is not specified, 2 AM UTC is used by default. + ApplyUpdatePreferredEndTime *string `mandatory:"false" json:"applyUpdatePreferredEndTime"` +} + +func (m CloudAutomationApplyUpdateTimePreference) 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 CloudAutomationApplyUpdateTimePreference) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/cloud_automation_freeze_period.go b/database/cloud_automation_freeze_period.go new file mode 100644 index 0000000000..79b420cddf --- /dev/null +++ b/database/cloud_automation_freeze_period.go @@ -0,0 +1,42 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CloudAutomationFreezePeriod Enables a freeze period for the VM cluster prohibiting the VMs from getting cloud automation software updates during critical business cycles. Freeze period start date. Starts at 12:00 AM UTC on the selected date and ends at 11:59:59 PM UTC on the selected date. Validates to ensure the freeze period does not exceed 45 days. +type CloudAutomationFreezePeriod struct { + + // Start time of the freeze period cycle. + FreezePeriodStartTime *string `mandatory:"false" json:"freezePeriodStartTime"` + + // End time of the freeze period cycle. + FreezePeriodEndTime *string `mandatory:"false" json:"freezePeriodEndTime"` +} + +func (m CloudAutomationFreezePeriod) 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 CloudAutomationFreezePeriod) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/cloud_automation_update_details.go b/database/cloud_automation_update_details.go new file mode 100644 index 0000000000..7f11de73fc --- /dev/null +++ b/database/cloud_automation_update_details.go @@ -0,0 +1,46 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CloudAutomationUpdateDetails Specifies the properties necessary for cloud automation updates. This includes modifying the apply update time preference, enabling or disabling early adoption, and enabling, modifying, or disabling the update freeze period. +type CloudAutomationUpdateDetails struct { + + // Annotates whether the cluster should be part of early access to apply VM cloud automation software updates. Those clusters annotated as early access will download the software bits for cloud automation in the first week after the update is available, while other clusters will have to wait until the following week. + IsEarlyAdoptionEnabled *bool `mandatory:"false" json:"isEarlyAdoptionEnabled"` + + // Specifies if the freeze period is enabled for the VM cluster to prevent the VMs from receiving cloud automation software updates during critical business cycles. Freeze period starts at 12:00 AM UTC and ends at 11:59:59 PM UTC on the selected date. Ensure that the freezing period does not exceed 45 days. + IsFreezePeriodEnabled *bool `mandatory:"false" json:"isFreezePeriodEnabled"` + + ApplyUpdateTimePreference *CloudAutomationApplyUpdateTimePreference `mandatory:"false" json:"applyUpdateTimePreference"` + + FreezePeriod *CloudAutomationFreezePeriod `mandatory:"false" json:"freezePeriod"` +} + +func (m CloudAutomationUpdateDetails) 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 CloudAutomationUpdateDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/create_autonomous_database_base.go b/database/create_autonomous_database_base.go index 037302352b..c9188b3377 100644 --- a/database/create_autonomous_database_base.go +++ b/database/create_autonomous_database_base.go @@ -17,10 +17,12 @@ import ( ) // CreateAutonomousDatabaseBase Details to create an Oracle Autonomous Database. +// // **Notes:** // - To specify OCPU core count, you must use either `ocpuCount` or `cpuCoreCount`. You cannot use both parameters at the same time. For Autonomous Database Serverless instances, `ocpuCount` is not used. // - To specify a storage allocation, you must use either `dataStorageSizeInGBs` or `dataStorageSizeInTBs`. // - See the individual parameter discriptions for more information on the OCPU and storage value parameters. +// // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CreateAutonomousDatabaseBase interface { @@ -391,14 +393,14 @@ func (m *createautonomousdatabasebase) UnmarshalPolymorphicJSON(data []byte) (in mm := CreateCrossRegionDisasterRecoveryDetails{} err = json.Unmarshal(data, &mm) return mm, err - case "CROSS_TENANCY_DISASTER_RECOVERY": - mm := CreateCrossTenancyDisasterRecoveryDetails{} - err = json.Unmarshal(data, &mm) - return mm, err case "BACKUP_FROM_TIMESTAMP": mm := CreateAutonomousDatabaseFromBackupTimestampDetails{} err = json.Unmarshal(data, &mm) return mm, err + case "CROSS_TENANCY_DISASTER_RECOVERY": + mm := CreateCrossTenancyDisasterRecoveryDetails{} + err = json.Unmarshal(data, &mm) + return mm, err case "CROSS_REGION_DATAGUARD": mm := CreateCrossRegionAutonomousDatabaseDataGuardDetails{} err = json.Unmarshal(data, &mm) diff --git a/database/create_database_software_image_details.go b/database/create_database_software_image_details.go index 558f32b34e..906ceb21c7 100644 --- a/database/create_database_software_image_details.go +++ b/database/create_database_software_image_details.go @@ -86,18 +86,21 @@ const ( CreateDatabaseSoftwareImageDetailsImageShapeFamilyVmBmShape CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum = "VM_BM_SHAPE" CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadataShape CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum = "EXADATA_SHAPE" CreateDatabaseSoftwareImageDetailsImageShapeFamilyExaccShape CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum = "EXACC_SHAPE" + CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadbxsShape CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum = "EXADBXS_SHAPE" ) var mappingCreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum = map[string]CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum{ "VM_BM_SHAPE": CreateDatabaseSoftwareImageDetailsImageShapeFamilyVmBmShape, "EXADATA_SHAPE": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadataShape, "EXACC_SHAPE": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExaccShape, + "EXADBXS_SHAPE": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadbxsShape, } var mappingCreateDatabaseSoftwareImageDetailsImageShapeFamilyEnumLowerCase = map[string]CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum{ "vm_bm_shape": CreateDatabaseSoftwareImageDetailsImageShapeFamilyVmBmShape, "exadata_shape": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadataShape, "exacc_shape": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExaccShape, + "exadbxs_shape": CreateDatabaseSoftwareImageDetailsImageShapeFamilyExadbxsShape, } // GetCreateDatabaseSoftwareImageDetailsImageShapeFamilyEnumValues Enumerates the set of values for CreateDatabaseSoftwareImageDetailsImageShapeFamilyEnum @@ -115,6 +118,7 @@ func GetCreateDatabaseSoftwareImageDetailsImageShapeFamilyEnumStringValues() []s "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", + "EXADBXS_SHAPE", } } diff --git a/database/create_exadb_vm_cluster_details.go b/database/create_exadb_vm_cluster_details.go new file mode 100644 index 0000000000..0162e61cf1 --- /dev/null +++ b/database/create_exadb_vm_cluster_details.go @@ -0,0 +1,172 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateExadbVmClusterDetails Details for the create Exadata VM cluster on Exascale Infrastructure operation. Applies to Exadata Database Service on Exascale Infrastructure only. +type CreateExadbVmClusterDetails struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure. + BackupSubnetId *string `mandatory:"true" json:"backupSubnetId"` + + // The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and + // can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters. + // The maximum length of the combined hostname and domain is 63 characters. + // **Note:** The hostname must be unique within the subnet. If it is not unique, + // then the Exadata VM cluster on Exascale Infrastructure will fail to provision. + Hostname *string `mandatory:"true" json:"hostname"` + + // The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. + SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"` + + // The shape of the Exadata VM cluster on Exascale Infrastructure resource + Shape *string `mandatory:"true" json:"shape"` + + // The number of nodes in the Exadata VM cluster on Exascale Infrastructure. + NodeCount *int `mandatory:"true" json:"nodeCount"` + + // The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. + TotalECpuCount *int `mandatory:"true" json:"totalECpuCount"` + + // The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. + EnabledECpuCount *int `mandatory:"true" json:"enabledECpuCount"` + + VmFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"true" json:"vmFileSystemStorage"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"` + + // Grid Setup will be done using this grid image id + GridImageId *string `mandatory:"true" json:"gridImageId"` + + // The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. + ClusterName *string `mandatory:"false" json:"clusterName"` + + // A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN + // resolver is enabled for the specified subnet, then the domain name for the subnet is used + // (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + // Applies to Exadata Database Service on Exascale Infrastructure only. + Domain *string `mandatory:"false" json:"domain"` + + // The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. + LicenseModel CreateExadbVmClusterDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` + + // The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // The TCP Single Client Access Name (SCAN) port. The default port is 1521. + ScanListenerPortTcp *int `mandatory:"false" json:"scanListenerPortTcp"` + + // The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484. + ScanListenerPortTcpSsl *int `mandatory:"false" json:"scanListenerPortTcpSsl"` + + // The private zone ID in which you want DNS records to be created. + PrivateZoneId *string `mandatory:"false" json:"privateZoneId"` + + // The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // **NsgIds restrictions:** + // - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. + BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"` + + // Operating system version of the image. + SystemVersion *string `mandatory:"false" json:"systemVersion"` + + // 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"` + + DataCollectionOptions *DataCollectionOptions `mandatory:"false" json:"dataCollectionOptions"` +} + +func (m CreateExadbVmClusterDetails) 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 CreateExadbVmClusterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingCreateExadbVmClusterDetailsLicenseModelEnum(string(m.LicenseModel)); !ok && m.LicenseModel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseModel: %s. Supported values are: %s.", m.LicenseModel, strings.Join(GetCreateExadbVmClusterDetailsLicenseModelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateExadbVmClusterDetailsLicenseModelEnum Enum with underlying type: string +type CreateExadbVmClusterDetailsLicenseModelEnum string + +// Set of constants representing the allowable values for CreateExadbVmClusterDetailsLicenseModelEnum +const ( + CreateExadbVmClusterDetailsLicenseModelLicenseIncluded CreateExadbVmClusterDetailsLicenseModelEnum = "LICENSE_INCLUDED" + CreateExadbVmClusterDetailsLicenseModelBringYourOwnLicense CreateExadbVmClusterDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingCreateExadbVmClusterDetailsLicenseModelEnum = map[string]CreateExadbVmClusterDetailsLicenseModelEnum{ + "LICENSE_INCLUDED": CreateExadbVmClusterDetailsLicenseModelLicenseIncluded, + "BRING_YOUR_OWN_LICENSE": CreateExadbVmClusterDetailsLicenseModelBringYourOwnLicense, +} + +var mappingCreateExadbVmClusterDetailsLicenseModelEnumLowerCase = map[string]CreateExadbVmClusterDetailsLicenseModelEnum{ + "license_included": CreateExadbVmClusterDetailsLicenseModelLicenseIncluded, + "bring_your_own_license": CreateExadbVmClusterDetailsLicenseModelBringYourOwnLicense, +} + +// GetCreateExadbVmClusterDetailsLicenseModelEnumValues Enumerates the set of values for CreateExadbVmClusterDetailsLicenseModelEnum +func GetCreateExadbVmClusterDetailsLicenseModelEnumValues() []CreateExadbVmClusterDetailsLicenseModelEnum { + values := make([]CreateExadbVmClusterDetailsLicenseModelEnum, 0) + for _, v := range mappingCreateExadbVmClusterDetailsLicenseModelEnum { + values = append(values, v) + } + return values +} + +// GetCreateExadbVmClusterDetailsLicenseModelEnumStringValues Enumerates the set of values in String for CreateExadbVmClusterDetailsLicenseModelEnum +func GetCreateExadbVmClusterDetailsLicenseModelEnumStringValues() []string { + return []string{ + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingCreateExadbVmClusterDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateExadbVmClusterDetailsLicenseModelEnum(val string) (CreateExadbVmClusterDetailsLicenseModelEnum, bool) { + enum, ok := mappingCreateExadbVmClusterDetailsLicenseModelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/create_exadb_vm_cluster_request_response.go b/database/create_exadb_vm_cluster_request_response.go new file mode 100644 index 0000000000..dcd5b4f81c --- /dev/null +++ b/database/create_exadb_vm_cluster_request_response.go @@ -0,0 +1,103 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateExadbVmClusterRequest wrapper for the CreateExadbVmCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/CreateExadbVmCluster.go.html to see an example of how to use CreateExadbVmClusterRequest. +type CreateExadbVmClusterRequest struct { + + // Request to create a Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. See The New Exadata Cloud Service Resource Model (https://docs.cloud.oracle.com/iaas/Content/Database/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) for information on this resource type. + CreateExadbVmClusterDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request CreateExadbVmClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateExadbVmClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateExadbVmClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateExadbVmClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request CreateExadbVmClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateExadbVmClusterResponse wrapper for the CreateExadbVmCluster operation +type CreateExadbVmClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmCluster instance + ExadbVmCluster `presentIn:"body"` + + // 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"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response CreateExadbVmClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateExadbVmClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/create_exascale_db_storage_vault_details.go b/database/create_exascale_db_storage_vault_details.go new file mode 100644 index 0000000000..d1902a8f2c --- /dev/null +++ b/database/create_exascale_db_storage_vault_details.go @@ -0,0 +1,65 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateExascaleDbStorageVaultDetails Details to create a Exadata Database Storage Vault. +type CreateExascaleDbStorageVaultDetails struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The name of the availability domain in which the Exadata Database Storage Vault is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + HighCapacityDatabaseStorage *ExascaleDbStorageInputDetails `mandatory:"true" json:"highCapacityDatabaseStorage"` + + // Exadata Database Storage Vault description. + Description *string `mandatory:"false" json:"description"` + + // The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // The size of additional Flash Cache in percentage of High Capacity database storage. + AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"` + + // 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 CreateExascaleDbStorageVaultDetails) 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 CreateExascaleDbStorageVaultDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/create_exascale_db_storage_vault_request_response.go b/database/create_exascale_db_storage_vault_request_response.go new file mode 100644 index 0000000000..796aec384e --- /dev/null +++ b/database/create_exascale_db_storage_vault_request_response.go @@ -0,0 +1,103 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateExascaleDbStorageVaultRequest wrapper for the CreateExascaleDbStorageVault operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/CreateExascaleDbStorageVault.go.html to see an example of how to use CreateExascaleDbStorageVaultRequest. +type CreateExascaleDbStorageVaultRequest struct { + + // Request to create a Exadata Database Storage Vault. + CreateExascaleDbStorageVaultDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request CreateExascaleDbStorageVaultRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateExascaleDbStorageVaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateExascaleDbStorageVaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateExascaleDbStorageVaultRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request CreateExascaleDbStorageVaultRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateExascaleDbStorageVaultResponse wrapper for the CreateExascaleDbStorageVault operation +type CreateExascaleDbStorageVaultResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExascaleDbStorageVault instance + ExascaleDbStorageVault `presentIn:"body"` + + // 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"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response CreateExascaleDbStorageVaultResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateExascaleDbStorageVaultResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/create_pluggable_database_creation_type_details.go b/database/create_pluggable_database_creation_type_details.go index 86f109aaf6..edfd54de5e 100644 --- a/database/create_pluggable_database_creation_type_details.go +++ b/database/create_pluggable_database_creation_type_details.go @@ -20,11 +20,19 @@ import ( // Use `LOCAL_CLONE_PDB` for creating a new PDB using Local Clone on Source Pluggable Database. This will Clone and starts a // pluggable database (PDB) in the same database (CDB) as the source PDB. The source PDB must be in the `READ_WRITE` openMode to // perform the clone operation. +// +// sourcePluggableDatabaseSnapshotId and isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. +// +// isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. // Use `REMOTE_CLONE_PDB` for creating a new PDB using Remote Clone on Source Pluggable Database. This will Clone a pluggable // database (PDB) to a different database from the source PDB. The cloned PDB will be started upon completion of the clone // operation. The source PDB must be in the `READ_WRITE` openMode when performing the clone. // For Exadata Cloud@Customer instances, the source pluggable database (PDB) must be on the same Exadata Infrastructure as the // target container database (CDB) to create a remote clone. +// +// sourcePluggableDatabaseSnapshotId and isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. +// +// isThinClone options are supported only for Exadata VM cluster on Exascale Infrastructure. // Use `RELOCATE_PDB` for relocating the Pluggable Database from Source CDB and creating it in target CDB. This will relocate a // pluggable database (PDB) to a different database from the source PDB. The source PDB must be in the `READ_WRITE` openMode when // performing the relocate. diff --git a/database/create_pluggable_database_from_local_clone_details.go b/database/create_pluggable_database_from_local_clone_details.go index d59934d578..8ff187a091 100644 --- a/database/create_pluggable_database_from_local_clone_details.go +++ b/database/create_pluggable_database_from_local_clone_details.go @@ -21,6 +21,9 @@ type CreatePluggableDatabaseFromLocalCloneDetails struct { // The OCID of the Source Pluggable Database. SourcePluggableDatabaseId *string `mandatory:"true" json:"sourcePluggableDatabaseId"` + + // True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned. + IsThinClone *bool `mandatory:"false" json:"isThinClone"` } func (m CreatePluggableDatabaseFromLocalCloneDetails) String() string { diff --git a/database/create_pluggable_database_from_remote_clone_details.go b/database/create_pluggable_database_from_remote_clone_details.go index 03d5137d62..ee37bc26cf 100644 --- a/database/create_pluggable_database_from_remote_clone_details.go +++ b/database/create_pluggable_database_from_remote_clone_details.go @@ -34,6 +34,9 @@ type CreatePluggableDatabaseFromRemoteCloneDetails struct { DblinkUserPassword *string `mandatory:"false" json:"dblinkUserPassword"` RefreshableCloneDetails *CreatePluggableDatabaseRefreshableCloneDetails `mandatory:"false" json:"refreshableCloneDetails"` + + // True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned. + IsThinClone *bool `mandatory:"false" json:"isThinClone"` } func (m CreatePluggableDatabaseFromRemoteCloneDetails) String() string { diff --git a/database/database_client.go b/database/database_client.go index c94f2008ae..69e04212cc 100644 --- a/database/database_client.go +++ b/database/database_client.go @@ -1403,6 +1403,130 @@ func (client DatabaseClient) changeExadataInfrastructureCompartment(ctx context. return response, err } +// ChangeExadbVmClusterCompartment Moves a Exadata VM cluster on Exascale Infrastructure and its dependent resources to another compartment. Applies to Exadata Database Service on Exascale Infrastructure only. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ChangeExadbVmClusterCompartment.go.html to see an example of how to use ChangeExadbVmClusterCompartment API. +func (client DatabaseClient) ChangeExadbVmClusterCompartment(ctx context.Context, request ChangeExadbVmClusterCompartmentRequest) (response ChangeExadbVmClusterCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeExadbVmClusterCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeExadbVmClusterCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeExadbVmClusterCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeExadbVmClusterCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeExadbVmClusterCompartmentResponse") + } + return +} + +// changeExadbVmClusterCompartment implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) changeExadbVmClusterCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/exadbVmClusters/{exadbVmClusterId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeExadbVmClusterCompartmentResponse + 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/ExadbVmCluster/ChangeExadbVmClusterCompartment" + err = common.PostProcessServiceError(err, "Database", "ChangeExadbVmClusterCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeExascaleDbStorageVaultCompartment Moves a Exadata Database Storage Vault to another compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ChangeExascaleDbStorageVaultCompartment.go.html to see an example of how to use ChangeExascaleDbStorageVaultCompartment API. +func (client DatabaseClient) ChangeExascaleDbStorageVaultCompartment(ctx context.Context, request ChangeExascaleDbStorageVaultCompartmentRequest) (response ChangeExascaleDbStorageVaultCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeExascaleDbStorageVaultCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeExascaleDbStorageVaultCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeExascaleDbStorageVaultCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeExascaleDbStorageVaultCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeExascaleDbStorageVaultCompartmentResponse") + } + return +} + +// changeExascaleDbStorageVaultCompartment implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) changeExascaleDbStorageVaultCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/exascaleDbStorageVaults/{exascaleDbStorageVaultId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeExascaleDbStorageVaultCompartmentResponse + 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/ExascaleDbStorageVault/ChangeExascaleDbStorageVaultCompartment" + err = common.PostProcessServiceError(err, "Database", "ChangeExascaleDbStorageVaultCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ChangeExternalContainerDatabaseCompartment Move the CreateExternalContainerDatabaseDetails // and its dependent resources to the specified compartment. // For more information about moving external container databases, see @@ -3406,6 +3530,130 @@ func (client DatabaseClient) createExadataInfrastructure(ctx context.Context, re return response, err } +// CreateExadbVmCluster Creates an Exadata VM cluster on Exascale Infrastructure +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/CreateExadbVmCluster.go.html to see an example of how to use CreateExadbVmCluster API. +func (client DatabaseClient) CreateExadbVmCluster(ctx context.Context, request CreateExadbVmClusterRequest) (response CreateExadbVmClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createExadbVmCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateExadbVmClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateExadbVmClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateExadbVmClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateExadbVmClusterResponse") + } + return +} + +// createExadbVmCluster implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) createExadbVmCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/exadbVmClusters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateExadbVmClusterResponse + 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/ExadbVmCluster/CreateExadbVmCluster" + err = common.PostProcessServiceError(err, "Database", "CreateExadbVmCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateExascaleDbStorageVault Creates an Exadata Database Storage Vault +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/CreateExascaleDbStorageVault.go.html to see an example of how to use CreateExascaleDbStorageVault API. +func (client DatabaseClient) CreateExascaleDbStorageVault(ctx context.Context, request CreateExascaleDbStorageVaultRequest) (response CreateExascaleDbStorageVaultResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createExascaleDbStorageVault, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateExascaleDbStorageVaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateExascaleDbStorageVaultResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateExascaleDbStorageVaultResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateExascaleDbStorageVaultResponse") + } + return +} + +// createExascaleDbStorageVault implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) createExascaleDbStorageVault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/exascaleDbStorageVaults", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateExascaleDbStorageVaultResponse + 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/ExascaleDbStorageVault/CreateExascaleDbStorageVault" + err = common.PostProcessServiceError(err, "Database", "CreateExascaleDbStorageVault", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateExternalBackupJob Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure. // **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud (https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm) for more information. // @@ -5083,14 +5331,12 @@ func (client DatabaseClient) deleteExadataInfrastructure(ctx context.Context, re return response, err } -// DeleteExternalContainerDatabase Deletes the CreateExternalContainerDatabaseDetails -// resource. Any external pluggable databases registered under this container database must be deleted in -// your Oracle Cloud Infrastructure tenancy prior to this operation. +// DeleteExadbVmCluster Deletes the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalContainerDatabase.go.html to see an example of how to use DeleteExternalContainerDatabase API. -func (client DatabaseClient) DeleteExternalContainerDatabase(ctx context.Context, request DeleteExternalContainerDatabaseRequest) (response DeleteExternalContainerDatabaseResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExadbVmCluster.go.html to see an example of how to use DeleteExadbVmCluster API. +func (client DatabaseClient) DeleteExadbVmCluster(ctx context.Context, request DeleteExadbVmClusterRequest) (response DeleteExadbVmClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -5099,42 +5345,42 @@ func (client DatabaseClient) DeleteExternalContainerDatabase(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.deleteExternalContainerDatabase, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteExadbVmCluster, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteExternalContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteExadbVmClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = DeleteExternalContainerDatabaseResponse{} + response = DeleteExadbVmClusterResponse{} } } return } - if convertedResponse, ok := ociResponse.(DeleteExternalContainerDatabaseResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteExadbVmClusterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalContainerDatabaseResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteExadbVmClusterResponse") } return } -// deleteExternalContainerDatabase implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) deleteExternalContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteExadbVmCluster implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) deleteExadbVmCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externalcontainerdatabases/{externalContainerDatabaseId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/exadbVmClusters/{exadbVmClusterId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response DeleteExternalContainerDatabaseResponse + var response DeleteExadbVmClusterResponse 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/ExternalContainerDatabase/DeleteExternalContainerDatabase" - err = common.PostProcessServiceError(err, "Database", "DeleteExternalContainerDatabase", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/DeleteExadbVmCluster" + err = common.PostProcessServiceError(err, "Database", "DeleteExadbVmCluster", apiReferenceLink) return response, err } @@ -5142,14 +5388,12 @@ func (client DatabaseClient) deleteExternalContainerDatabase(ctx context.Context return response, err } -// DeleteExternalDatabaseConnector Deletes an external database connector. -// Any services enabled using the external database connector must be -// deleted prior to this operation. +// DeleteExascaleDbStorageVault Deletes the specified Exadata Database Storage Vault. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalDatabaseConnector.go.html to see an example of how to use DeleteExternalDatabaseConnector API. -func (client DatabaseClient) DeleteExternalDatabaseConnector(ctx context.Context, request DeleteExternalDatabaseConnectorRequest) (response DeleteExternalDatabaseConnectorResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExascaleDbStorageVault.go.html to see an example of how to use DeleteExascaleDbStorageVault API. +func (client DatabaseClient) DeleteExascaleDbStorageVault(ctx context.Context, request DeleteExascaleDbStorageVaultRequest) (response DeleteExascaleDbStorageVaultResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -5158,42 +5402,42 @@ func (client DatabaseClient) DeleteExternalDatabaseConnector(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.deleteExternalDatabaseConnector, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteExascaleDbStorageVault, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteExternalDatabaseConnectorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteExascaleDbStorageVaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = DeleteExternalDatabaseConnectorResponse{} + response = DeleteExascaleDbStorageVaultResponse{} } } return } - if convertedResponse, ok := ociResponse.(DeleteExternalDatabaseConnectorResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteExascaleDbStorageVaultResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalDatabaseConnectorResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteExascaleDbStorageVaultResponse") } return } -// deleteExternalDatabaseConnector implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) deleteExternalDatabaseConnector(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteExascaleDbStorageVault implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) deleteExascaleDbStorageVault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externaldatabaseconnectors/{externalDatabaseConnectorId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/exascaleDbStorageVaults/{exascaleDbStorageVaultId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response DeleteExternalDatabaseConnectorResponse + var response DeleteExascaleDbStorageVaultResponse 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/ExternalDatabaseConnector/DeleteExternalDatabaseConnector" - err = common.PostProcessServiceError(err, "Database", "DeleteExternalDatabaseConnector", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/DeleteExascaleDbStorageVault" + err = common.PostProcessServiceError(err, "Database", "DeleteExascaleDbStorageVault", apiReferenceLink) return response, err } @@ -5201,12 +5445,14 @@ func (client DatabaseClient) deleteExternalDatabaseConnector(ctx context.Context return response, err } -// DeleteExternalNonContainerDatabase Deletes the Oracle Cloud Infrastructure resource representing an external non-container database. +// DeleteExternalContainerDatabase Deletes the CreateExternalContainerDatabaseDetails +// resource. Any external pluggable databases registered under this container database must be deleted in +// your Oracle Cloud Infrastructure tenancy prior to this operation. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalNonContainerDatabase.go.html to see an example of how to use DeleteExternalNonContainerDatabase API. -func (client DatabaseClient) DeleteExternalNonContainerDatabase(ctx context.Context, request DeleteExternalNonContainerDatabaseRequest) (response DeleteExternalNonContainerDatabaseResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalContainerDatabase.go.html to see an example of how to use DeleteExternalContainerDatabase API. +func (client DatabaseClient) DeleteExternalContainerDatabase(ctx context.Context, request DeleteExternalContainerDatabaseRequest) (response DeleteExternalContainerDatabaseResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -5215,42 +5461,42 @@ func (client DatabaseClient) DeleteExternalNonContainerDatabase(ctx context.Cont if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.deleteExternalNonContainerDatabase, policy) + ociResponse, err = common.Retry(ctx, request, client.deleteExternalContainerDatabase, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteExternalNonContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DeleteExternalContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = DeleteExternalNonContainerDatabaseResponse{} + response = DeleteExternalContainerDatabaseResponse{} } } return } - if convertedResponse, ok := ociResponse.(DeleteExternalNonContainerDatabaseResponse); ok { + if convertedResponse, ok := ociResponse.(DeleteExternalContainerDatabaseResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalNonContainerDatabaseResponse") + err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalContainerDatabaseResponse") } return } -// deleteExternalNonContainerDatabase implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) deleteExternalNonContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// deleteExternalContainerDatabase implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) deleteExternalContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externalcontainerdatabases/{externalContainerDatabaseId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response DeleteExternalNonContainerDatabaseResponse + var response DeleteExternalContainerDatabaseResponse 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/ExternalNonContainerDatabase/DeleteExternalNonContainerDatabase" - err = common.PostProcessServiceError(err, "Database", "DeleteExternalNonContainerDatabase", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExternalContainerDatabase/DeleteExternalContainerDatabase" + err = common.PostProcessServiceError(err, "Database", "DeleteExternalContainerDatabase", apiReferenceLink) return response, err } @@ -5258,8 +5504,124 @@ func (client DatabaseClient) deleteExternalNonContainerDatabase(ctx context.Cont return response, err } -// DeleteExternalPluggableDatabase Deletes the CreateExternalPluggableDatabaseDetails. -// resource. +// DeleteExternalDatabaseConnector Deletes an external database connector. +// Any services enabled using the external database connector must be +// deleted prior to this operation. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalDatabaseConnector.go.html to see an example of how to use DeleteExternalDatabaseConnector API. +func (client DatabaseClient) DeleteExternalDatabaseConnector(ctx context.Context, request DeleteExternalDatabaseConnectorRequest) (response DeleteExternalDatabaseConnectorResponse, 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.deleteExternalDatabaseConnector, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteExternalDatabaseConnectorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteExternalDatabaseConnectorResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteExternalDatabaseConnectorResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalDatabaseConnectorResponse") + } + return +} + +// deleteExternalDatabaseConnector implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) deleteExternalDatabaseConnector(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externaldatabaseconnectors/{externalDatabaseConnectorId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteExternalDatabaseConnectorResponse + 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/ExternalDatabaseConnector/DeleteExternalDatabaseConnector" + err = common.PostProcessServiceError(err, "Database", "DeleteExternalDatabaseConnector", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteExternalNonContainerDatabase Deletes the Oracle Cloud Infrastructure resource representing an external non-container database. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExternalNonContainerDatabase.go.html to see an example of how to use DeleteExternalNonContainerDatabase API. +func (client DatabaseClient) DeleteExternalNonContainerDatabase(ctx context.Context, request DeleteExternalNonContainerDatabaseRequest) (response DeleteExternalNonContainerDatabaseResponse, 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.deleteExternalNonContainerDatabase, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteExternalNonContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteExternalNonContainerDatabaseResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteExternalNonContainerDatabaseResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteExternalNonContainerDatabaseResponse") + } + return +} + +// deleteExternalNonContainerDatabase implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) deleteExternalNonContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteExternalNonContainerDatabaseResponse + 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/ExternalNonContainerDatabase/DeleteExternalNonContainerDatabase" + err = common.PostProcessServiceError(err, "Database", "DeleteExternalNonContainerDatabase", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteExternalPluggableDatabase Deletes the CreateExternalPluggableDatabaseDetails. +// resource. // // # See also // @@ -10263,13 +10625,12 @@ func (client DatabaseClient) getExadataIormConfig(ctx context.Context, request c return response, err } -// GetExternalBackupJob Gets information about the specified external backup job. -// **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud (https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm) for more information. +// GetExadbVmCluster Gets information about the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalBackupJob.go.html to see an example of how to use GetExternalBackupJob API. -func (client DatabaseClient) GetExternalBackupJob(ctx context.Context, request GetExternalBackupJobRequest) (response GetExternalBackupJobResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmCluster.go.html to see an example of how to use GetExadbVmCluster API. +func (client DatabaseClient) GetExadbVmCluster(ctx context.Context, request GetExadbVmClusterRequest) (response GetExadbVmClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10278,42 +10639,42 @@ func (client DatabaseClient) GetExternalBackupJob(ctx context.Context, request G if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getExternalBackupJob, policy) + ociResponse, err = common.Retry(ctx, request, client.getExadbVmCluster, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetExternalBackupJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExadbVmClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetExternalBackupJobResponse{} + response = GetExadbVmClusterResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetExternalBackupJobResponse); ok { + if convertedResponse, ok := ociResponse.(GetExadbVmClusterResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetExternalBackupJobResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExadbVmClusterResponse") } return } -// getExternalBackupJob implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getExternalBackupJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExadbVmCluster implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExadbVmCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalBackupJobs/{backupId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters/{exadbVmClusterId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetExternalBackupJobResponse + var response GetExadbVmClusterResponse 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/ExternalBackupJob/GetExternalBackupJob" - err = common.PostProcessServiceError(err, "Database", "GetExternalBackupJob", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/GetExadbVmCluster" + err = common.PostProcessServiceError(err, "Database", "GetExadbVmCluster", apiReferenceLink) return response, err } @@ -10321,12 +10682,12 @@ func (client DatabaseClient) getExternalBackupJob(ctx context.Context, request c return response, err } -// GetExternalContainerDatabase Gets information about the specified external container database. +// GetExadbVmClusterUpdate Gets information about a specified maintenance update package for a Exadata VM cluster on Exascale Infrastructure. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalContainerDatabase.go.html to see an example of how to use GetExternalContainerDatabase API. -func (client DatabaseClient) GetExternalContainerDatabase(ctx context.Context, request GetExternalContainerDatabaseRequest) (response GetExternalContainerDatabaseResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmClusterUpdate.go.html to see an example of how to use GetExadbVmClusterUpdate API. +func (client DatabaseClient) GetExadbVmClusterUpdate(ctx context.Context, request GetExadbVmClusterUpdateRequest) (response GetExadbVmClusterUpdateResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10335,42 +10696,42 @@ func (client DatabaseClient) GetExternalContainerDatabase(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getExternalContainerDatabase, policy) + ociResponse, err = common.Retry(ctx, request, client.getExadbVmClusterUpdate, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetExternalContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExadbVmClusterUpdateResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetExternalContainerDatabaseResponse{} + response = GetExadbVmClusterUpdateResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetExternalContainerDatabaseResponse); ok { + if convertedResponse, ok := ociResponse.(GetExadbVmClusterUpdateResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetExternalContainerDatabaseResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExadbVmClusterUpdateResponse") } return } -// getExternalContainerDatabase implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getExternalContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExadbVmClusterUpdate implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExadbVmClusterUpdate(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalcontainerdatabases/{externalContainerDatabaseId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters/{exadbVmClusterId}/updates/{updateId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetExternalContainerDatabaseResponse + var response GetExadbVmClusterUpdateResponse 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/ExternalContainerDatabase/GetExternalContainerDatabase" - err = common.PostProcessServiceError(err, "Database", "GetExternalContainerDatabase", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmClusterUpdate/GetExadbVmClusterUpdate" + err = common.PostProcessServiceError(err, "Database", "GetExadbVmClusterUpdate", apiReferenceLink) return response, err } @@ -10378,12 +10739,12 @@ func (client DatabaseClient) getExternalContainerDatabase(ctx context.Context, r return response, err } -// GetExternalDatabaseConnector Gets information about the specified external database connector. +// GetExadbVmClusterUpdateHistoryEntry Gets the maintenance update history details for the specified update history entry. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalDatabaseConnector.go.html to see an example of how to use GetExternalDatabaseConnector API. -func (client DatabaseClient) GetExternalDatabaseConnector(ctx context.Context, request GetExternalDatabaseConnectorRequest) (response GetExternalDatabaseConnectorResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmClusterUpdateHistoryEntry.go.html to see an example of how to use GetExadbVmClusterUpdateHistoryEntry API. +func (client DatabaseClient) GetExadbVmClusterUpdateHistoryEntry(ctx context.Context, request GetExadbVmClusterUpdateHistoryEntryRequest) (response GetExadbVmClusterUpdateHistoryEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10392,55 +10753,55 @@ func (client DatabaseClient) GetExternalDatabaseConnector(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getExternalDatabaseConnector, policy) + ociResponse, err = common.Retry(ctx, request, client.getExadbVmClusterUpdateHistoryEntry, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetExternalDatabaseConnectorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExadbVmClusterUpdateHistoryEntryResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetExternalDatabaseConnectorResponse{} + response = GetExadbVmClusterUpdateHistoryEntryResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetExternalDatabaseConnectorResponse); ok { + if convertedResponse, ok := ociResponse.(GetExadbVmClusterUpdateHistoryEntryResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetExternalDatabaseConnectorResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExadbVmClusterUpdateHistoryEntryResponse") } return } -// getExternalDatabaseConnector implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getExternalDatabaseConnector(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExadbVmClusterUpdateHistoryEntry implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExadbVmClusterUpdateHistoryEntry(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/externaldatabaseconnectors/{externalDatabaseConnectorId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters/{exadbVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetExternalDatabaseConnectorResponse + var response GetExadbVmClusterUpdateHistoryEntryResponse 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/ExternalDatabaseConnector/GetExternalDatabaseConnector" - err = common.PostProcessServiceError(err, "Database", "GetExternalDatabaseConnector", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmClusterUpdateHistoryEntry/GetExadbVmClusterUpdateHistoryEntry" + err = common.PostProcessServiceError(err, "Database", "GetExadbVmClusterUpdateHistoryEntry", apiReferenceLink) return response, err } - err = common.UnmarshalResponseWithPolymorphicBody(httpResponse, &response, &externaldatabaseconnector{}) + err = common.UnmarshalResponse(httpResponse, &response) return response, err } -// GetExternalNonContainerDatabase Gets information about a specific external non-container database. +// GetExascaleDbStorageVault Gets information about the specified Exadata Database Storage Vaults in the specified compartment. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalNonContainerDatabase.go.html to see an example of how to use GetExternalNonContainerDatabase API. -func (client DatabaseClient) GetExternalNonContainerDatabase(ctx context.Context, request GetExternalNonContainerDatabaseRequest) (response GetExternalNonContainerDatabaseResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExascaleDbStorageVault.go.html to see an example of how to use GetExascaleDbStorageVault API. +func (client DatabaseClient) GetExascaleDbStorageVault(ctx context.Context, request GetExascaleDbStorageVaultRequest) (response GetExascaleDbStorageVaultResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10449,42 +10810,42 @@ func (client DatabaseClient) GetExternalNonContainerDatabase(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getExternalNonContainerDatabase, policy) + ociResponse, err = common.Retry(ctx, request, client.getExascaleDbStorageVault, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetExternalNonContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExascaleDbStorageVaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetExternalNonContainerDatabaseResponse{} + response = GetExascaleDbStorageVaultResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetExternalNonContainerDatabaseResponse); ok { + if convertedResponse, ok := ociResponse.(GetExascaleDbStorageVaultResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetExternalNonContainerDatabaseResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExascaleDbStorageVaultResponse") } return } -// getExternalNonContainerDatabase implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getExternalNonContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExascaleDbStorageVault implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExascaleDbStorageVault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exascaleDbStorageVaults/{exascaleDbStorageVaultId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetExternalNonContainerDatabaseResponse + var response GetExascaleDbStorageVaultResponse 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/ExternalNonContainerDatabase/GetExternalNonContainerDatabase" - err = common.PostProcessServiceError(err, "Database", "GetExternalNonContainerDatabase", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/GetExascaleDbStorageVault" + err = common.PostProcessServiceError(err, "Database", "GetExascaleDbStorageVault", apiReferenceLink) return response, err } @@ -10492,13 +10853,13 @@ func (client DatabaseClient) getExternalNonContainerDatabase(ctx context.Context return response, err } -// GetExternalPluggableDatabase Gets information about a specific -// CreateExternalPluggableDatabaseDetails resource. +// GetExternalBackupJob Gets information about the specified external backup job. +// **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud (https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm) for more information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalPluggableDatabase.go.html to see an example of how to use GetExternalPluggableDatabase API. -func (client DatabaseClient) GetExternalPluggableDatabase(ctx context.Context, request GetExternalPluggableDatabaseRequest) (response GetExternalPluggableDatabaseResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalBackupJob.go.html to see an example of how to use GetExternalBackupJob API. +func (client DatabaseClient) GetExternalBackupJob(ctx context.Context, request GetExternalBackupJobRequest) (response GetExternalBackupJobResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10507,42 +10868,42 @@ func (client DatabaseClient) GetExternalPluggableDatabase(ctx context.Context, r if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getExternalPluggableDatabase, policy) + ociResponse, err = common.Retry(ctx, request, client.getExternalBackupJob, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetExternalPluggableDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExternalBackupJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetExternalPluggableDatabaseResponse{} + response = GetExternalBackupJobResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetExternalPluggableDatabaseResponse); ok { + if convertedResponse, ok := ociResponse.(GetExternalBackupJobResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetExternalPluggableDatabaseResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExternalBackupJobResponse") } return } -// getExternalPluggableDatabase implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getExternalPluggableDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExternalBackupJob implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExternalBackupJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalpluggabledatabases/{externalPluggableDatabaseId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalBackupJobs/{backupId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetExternalPluggableDatabaseResponse + var response GetExternalBackupJobResponse 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/ExternalPluggableDatabase/GetExternalPluggableDatabase" - err = common.PostProcessServiceError(err, "Database", "GetExternalPluggableDatabase", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExternalBackupJob/GetExternalBackupJob" + err = common.PostProcessServiceError(err, "Database", "GetExternalBackupJob", apiReferenceLink) return response, err } @@ -10550,13 +10911,12 @@ func (client DatabaseClient) getExternalPluggableDatabase(ctx context.Context, r return response, err } -// GetInfrastructureTargetVersions Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates. -// Applies to Exadata Cloud@Customer and Exadata Cloud instances only. +// GetExternalContainerDatabase Gets information about the specified external container database. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetInfrastructureTargetVersions.go.html to see an example of how to use GetInfrastructureTargetVersions API. -func (client DatabaseClient) GetInfrastructureTargetVersions(ctx context.Context, request GetInfrastructureTargetVersionsRequest) (response GetInfrastructureTargetVersionsResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalContainerDatabase.go.html to see an example of how to use GetExternalContainerDatabase API. +func (client DatabaseClient) GetExternalContainerDatabase(ctx context.Context, request GetExternalContainerDatabaseRequest) (response GetExternalContainerDatabaseResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10565,42 +10925,42 @@ func (client DatabaseClient) GetInfrastructureTargetVersions(ctx context.Context if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getInfrastructureTargetVersions, policy) + ociResponse, err = common.Retry(ctx, request, client.getExternalContainerDatabase, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetInfrastructureTargetVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExternalContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetInfrastructureTargetVersionsResponse{} + response = GetExternalContainerDatabaseResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetInfrastructureTargetVersionsResponse); ok { + if convertedResponse, ok := ociResponse.(GetExternalContainerDatabaseResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetInfrastructureTargetVersionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExternalContainerDatabaseResponse") } return } -// getInfrastructureTargetVersions implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getInfrastructureTargetVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExternalContainerDatabase implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExternalContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/infrastructureTargetVersions", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalcontainerdatabases/{externalContainerDatabaseId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetInfrastructureTargetVersionsResponse + var response GetExternalContainerDatabaseResponse 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/InfrastructureTargetVersion/GetInfrastructureTargetVersions" - err = common.PostProcessServiceError(err, "Database", "GetInfrastructureTargetVersions", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExternalContainerDatabase/GetExternalContainerDatabase" + err = common.PostProcessServiceError(err, "Database", "GetExternalContainerDatabase", apiReferenceLink) return response, err } @@ -10608,12 +10968,12 @@ func (client DatabaseClient) getInfrastructureTargetVersions(ctx context.Context return response, err } -// GetKeyStore Gets information about the specified key store. +// GetExternalDatabaseConnector Gets information about the specified external database connector. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetKeyStore.go.html to see an example of how to use GetKeyStore API. -func (client DatabaseClient) GetKeyStore(ctx context.Context, request GetKeyStoreRequest) (response GetKeyStoreResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalDatabaseConnector.go.html to see an example of how to use GetExternalDatabaseConnector API. +func (client DatabaseClient) GetExternalDatabaseConnector(ctx context.Context, request GetExternalDatabaseConnectorRequest) (response GetExternalDatabaseConnectorResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -10622,28 +10982,258 @@ func (client DatabaseClient) GetKeyStore(ctx context.Context, request GetKeyStor if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getKeyStore, policy) + ociResponse, err = common.Retry(ctx, request, client.getExternalDatabaseConnector, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetKeyStoreResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetExternalDatabaseConnectorResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetKeyStoreResponse{} + response = GetExternalDatabaseConnectorResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetKeyStoreResponse); ok { + if convertedResponse, ok := ociResponse.(GetExternalDatabaseConnectorResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetKeyStoreResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetExternalDatabaseConnectorResponse") } return } -// getKeyStore implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) getKeyStore(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getExternalDatabaseConnector implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExternalDatabaseConnector(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/externaldatabaseconnectors/{externalDatabaseConnectorId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetExternalDatabaseConnectorResponse + 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/ExternalDatabaseConnector/GetExternalDatabaseConnector" + err = common.PostProcessServiceError(err, "Database", "GetExternalDatabaseConnector", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponseWithPolymorphicBody(httpResponse, &response, &externaldatabaseconnector{}) + return response, err +} + +// GetExternalNonContainerDatabase Gets information about a specific external non-container database. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalNonContainerDatabase.go.html to see an example of how to use GetExternalNonContainerDatabase API. +func (client DatabaseClient) GetExternalNonContainerDatabase(ctx context.Context, request GetExternalNonContainerDatabaseRequest) (response GetExternalNonContainerDatabaseResponse, 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.getExternalNonContainerDatabase, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetExternalNonContainerDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetExternalNonContainerDatabaseResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetExternalNonContainerDatabaseResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetExternalNonContainerDatabaseResponse") + } + return +} + +// getExternalNonContainerDatabase implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExternalNonContainerDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetExternalNonContainerDatabaseResponse + 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/ExternalNonContainerDatabase/GetExternalNonContainerDatabase" + err = common.PostProcessServiceError(err, "Database", "GetExternalNonContainerDatabase", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetExternalPluggableDatabase Gets information about a specific +// CreateExternalPluggableDatabaseDetails resource. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExternalPluggableDatabase.go.html to see an example of how to use GetExternalPluggableDatabase API. +func (client DatabaseClient) GetExternalPluggableDatabase(ctx context.Context, request GetExternalPluggableDatabaseRequest) (response GetExternalPluggableDatabaseResponse, 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.getExternalPluggableDatabase, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetExternalPluggableDatabaseResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetExternalPluggableDatabaseResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetExternalPluggableDatabaseResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetExternalPluggableDatabaseResponse") + } + return +} + +// getExternalPluggableDatabase implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getExternalPluggableDatabase(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/externalpluggabledatabases/{externalPluggableDatabaseId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetExternalPluggableDatabaseResponse + 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/ExternalPluggableDatabase/GetExternalPluggableDatabase" + err = common.PostProcessServiceError(err, "Database", "GetExternalPluggableDatabase", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetInfrastructureTargetVersions Gets details of the Exadata Infrastructure target system software versions that can be applied to the specified infrastructure resource for maintenance updates. +// Applies to Exadata Cloud@Customer and Exadata Cloud instances only. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetInfrastructureTargetVersions.go.html to see an example of how to use GetInfrastructureTargetVersions API. +func (client DatabaseClient) GetInfrastructureTargetVersions(ctx context.Context, request GetInfrastructureTargetVersionsRequest) (response GetInfrastructureTargetVersionsResponse, 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.getInfrastructureTargetVersions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetInfrastructureTargetVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetInfrastructureTargetVersionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetInfrastructureTargetVersionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetInfrastructureTargetVersionsResponse") + } + return +} + +// getInfrastructureTargetVersions implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getInfrastructureTargetVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/infrastructureTargetVersions", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetInfrastructureTargetVersionsResponse + 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/InfrastructureTargetVersion/GetInfrastructureTargetVersions" + err = common.PostProcessServiceError(err, "Database", "GetInfrastructureTargetVersions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetKeyStore Gets information about the specified key store. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetKeyStore.go.html to see an example of how to use GetKeyStore API. +func (client DatabaseClient) GetKeyStore(ctx context.Context, request GetKeyStoreRequest) (response GetKeyStoreResponse, 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.getKeyStore, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetKeyStoreResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetKeyStoreResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetKeyStoreResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetKeyStoreResponse") + } + return +} + +// getKeyStore implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) getKeyStore(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { httpRequest, err := request.HTTPRequest(http.MethodGet, "/keyStores/{keyStoreId}", binaryReqBody, extraHeaders) if err != nil { @@ -13895,37 +14485,268 @@ func (client DatabaseClient) ListDbSystemStoragePerformances(ctx context.Context if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDbSystemStoragePerformancesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListDbSystemStoragePerformancesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListDbSystemStoragePerformancesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListDbSystemStoragePerformancesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemStoragePerformancesResponse") + } + return +} + +// listDbSystemStoragePerformances implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listDbSystemStoragePerformances(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystemStoragePerformance", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListDbSystemStoragePerformancesResponse + 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/DbSystem/ListDbSystemStoragePerformances" + err = common.PostProcessServiceError(err, "Database", "ListDbSystemStoragePerformances", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListDbSystemUpgradeHistoryEntries Gets the history of the upgrade actions performed on the specified DB system. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbSystemUpgradeHistoryEntries.go.html to see an example of how to use ListDbSystemUpgradeHistoryEntries API. +func (client DatabaseClient) ListDbSystemUpgradeHistoryEntries(ctx context.Context, request ListDbSystemUpgradeHistoryEntriesRequest) (response ListDbSystemUpgradeHistoryEntriesResponse, 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.listDbSystemUpgradeHistoryEntries, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListDbSystemUpgradeHistoryEntriesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListDbSystemUpgradeHistoryEntriesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListDbSystemUpgradeHistoryEntriesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemUpgradeHistoryEntriesResponse") + } + return +} + +// listDbSystemUpgradeHistoryEntries implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listDbSystemUpgradeHistoryEntries(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems/{dbSystemId}/upgradeHistoryEntries", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListDbSystemUpgradeHistoryEntriesResponse + 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/DbSystemUpgradeHistoryEntry/ListDbSystemUpgradeHistoryEntries" + err = common.PostProcessServiceError(err, "Database", "ListDbSystemUpgradeHistoryEntries", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListDbSystems Lists the DB systems in the specified compartment. You can specify a `backupId` to list only the DB systems that support creating a database using this backup in this compartment. +// **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. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbSystems.go.html to see an example of how to use ListDbSystems API. +func (client DatabaseClient) ListDbSystems(ctx context.Context, request ListDbSystemsRequest) (response ListDbSystemsResponse, 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.listDbSystems, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListDbSystemsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListDbSystemsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListDbSystemsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemsResponse") + } + return +} + +// listDbSystems implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listDbSystems(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListDbSystemsResponse + 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/DbSystem/ListDbSystems" + err = common.PostProcessServiceError(err, "Database", "ListDbSystems", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListDbVersions Gets a list of supported Oracle Database versions. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbVersions.go.html to see an example of how to use ListDbVersions API. +func (client DatabaseClient) ListDbVersions(ctx context.Context, request ListDbVersionsRequest) (response ListDbVersionsResponse, 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.listDbVersions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListDbVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListDbVersionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListDbVersionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListDbVersionsResponse") + } + return +} + +// listDbVersions implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listDbVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbVersions", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListDbVersionsResponse + 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/DbVersionSummary/ListDbVersions" + err = common.PostProcessServiceError(err, "Database", "ListDbVersions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListExadataInfrastructures Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. +// To list the Exadata Cloud Service infrastructure resources in a compartment, use the ListCloudExadataInfrastructures operation. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadataInfrastructures.go.html to see an example of how to use ListExadataInfrastructures API. +func (client DatabaseClient) ListExadataInfrastructures(ctx context.Context, request ListExadataInfrastructuresRequest) (response ListExadataInfrastructuresResponse, 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.listExadataInfrastructures, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListExadataInfrastructuresResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDbSystemStoragePerformancesResponse{} + response = ListExadataInfrastructuresResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDbSystemStoragePerformancesResponse); ok { + if convertedResponse, ok := ociResponse.(ListExadataInfrastructuresResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemStoragePerformancesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListExadataInfrastructuresResponse") } return } -// listDbSystemStoragePerformances implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) listDbSystemStoragePerformances(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listExadataInfrastructures implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listExadataInfrastructures(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystemStoragePerformance", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadataInfrastructures", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDbSystemStoragePerformancesResponse + var response ListExadataInfrastructuresResponse 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/DbSystem/ListDbSystemStoragePerformances" - err = common.PostProcessServiceError(err, "Database", "ListDbSystemStoragePerformances", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadataInfrastructure/ListExadataInfrastructures" + err = common.PostProcessServiceError(err, "Database", "ListExadataInfrastructures", apiReferenceLink) return response, err } @@ -13933,12 +14754,12 @@ func (client DatabaseClient) listDbSystemStoragePerformances(ctx context.Context return response, err } -// ListDbSystemUpgradeHistoryEntries Gets the history of the upgrade actions performed on the specified DB system. +// ListExadbVmClusterUpdateHistoryEntries Gets the history of the maintenance update actions performed on the specified Exadata VM cluster on Exascale Infrastructure. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbSystemUpgradeHistoryEntries.go.html to see an example of how to use ListDbSystemUpgradeHistoryEntries API. -func (client DatabaseClient) ListDbSystemUpgradeHistoryEntries(ctx context.Context, request ListDbSystemUpgradeHistoryEntriesRequest) (response ListDbSystemUpgradeHistoryEntriesResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusterUpdateHistoryEntries.go.html to see an example of how to use ListExadbVmClusterUpdateHistoryEntries API. +func (client DatabaseClient) ListExadbVmClusterUpdateHistoryEntries(ctx context.Context, request ListExadbVmClusterUpdateHistoryEntriesRequest) (response ListExadbVmClusterUpdateHistoryEntriesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -13947,42 +14768,42 @@ func (client DatabaseClient) ListDbSystemUpgradeHistoryEntries(ctx context.Conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDbSystemUpgradeHistoryEntries, policy) + ociResponse, err = common.Retry(ctx, request, client.listExadbVmClusterUpdateHistoryEntries, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDbSystemUpgradeHistoryEntriesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListExadbVmClusterUpdateHistoryEntriesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDbSystemUpgradeHistoryEntriesResponse{} + response = ListExadbVmClusterUpdateHistoryEntriesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDbSystemUpgradeHistoryEntriesResponse); ok { + if convertedResponse, ok := ociResponse.(ListExadbVmClusterUpdateHistoryEntriesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemUpgradeHistoryEntriesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListExadbVmClusterUpdateHistoryEntriesResponse") } return } -// listDbSystemUpgradeHistoryEntries implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) listDbSystemUpgradeHistoryEntries(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listExadbVmClusterUpdateHistoryEntries implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listExadbVmClusterUpdateHistoryEntries(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems/{dbSystemId}/upgradeHistoryEntries", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters/{exadbVmClusterId}/updateHistoryEntries", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDbSystemUpgradeHistoryEntriesResponse + var response ListExadbVmClusterUpdateHistoryEntriesResponse 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/DbSystemUpgradeHistoryEntry/ListDbSystemUpgradeHistoryEntries" - err = common.PostProcessServiceError(err, "Database", "ListDbSystemUpgradeHistoryEntries", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmClusterUpdateHistoryEntry/ListExadbVmClusterUpdateHistoryEntries" + err = common.PostProcessServiceError(err, "Database", "ListExadbVmClusterUpdateHistoryEntries", apiReferenceLink) return response, err } @@ -13990,14 +14811,12 @@ func (client DatabaseClient) listDbSystemUpgradeHistoryEntries(ctx context.Conte return response, err } -// ListDbSystems Lists the DB systems in the specified compartment. You can specify a `backupId` to list only the DB systems that support creating a database using this backup in this compartment. -// **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. +// ListExadbVmClusterUpdates Lists the maintenance updates that can be applied to the specified Exadata VM cluster on Exascale Infrastructure. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbSystems.go.html to see an example of how to use ListDbSystems API. -func (client DatabaseClient) ListDbSystems(ctx context.Context, request ListDbSystemsRequest) (response ListDbSystemsResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusterUpdates.go.html to see an example of how to use ListExadbVmClusterUpdates API. +func (client DatabaseClient) ListExadbVmClusterUpdates(ctx context.Context, request ListExadbVmClusterUpdatesRequest) (response ListExadbVmClusterUpdatesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14006,42 +14825,42 @@ func (client DatabaseClient) ListDbSystems(ctx context.Context, request ListDbSy if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDbSystems, policy) + ociResponse, err = common.Retry(ctx, request, client.listExadbVmClusterUpdates, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDbSystemsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListExadbVmClusterUpdatesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDbSystemsResponse{} + response = ListExadbVmClusterUpdatesResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDbSystemsResponse); ok { + if convertedResponse, ok := ociResponse.(ListExadbVmClusterUpdatesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDbSystemsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListExadbVmClusterUpdatesResponse") } return } -// listDbSystems implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) listDbSystems(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listExadbVmClusterUpdates implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listExadbVmClusterUpdates(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters/{exadbVmClusterId}/updates", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDbSystemsResponse + var response ListExadbVmClusterUpdatesResponse 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/DbSystem/ListDbSystems" - err = common.PostProcessServiceError(err, "Database", "ListDbSystems", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmClusterUpdate/ListExadbVmClusterUpdates" + err = common.PostProcessServiceError(err, "Database", "ListExadbVmClusterUpdates", apiReferenceLink) return response, err } @@ -14049,12 +14868,12 @@ func (client DatabaseClient) listDbSystems(ctx context.Context, request common.O return response, err } -// ListDbVersions Gets a list of supported Oracle Database versions. +// ListExadbVmClusters Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListDbVersions.go.html to see an example of how to use ListDbVersions API. -func (client DatabaseClient) ListDbVersions(ctx context.Context, request ListDbVersionsRequest) (response ListDbVersionsResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusters.go.html to see an example of how to use ListExadbVmClusters API. +func (client DatabaseClient) ListExadbVmClusters(ctx context.Context, request ListExadbVmClustersRequest) (response ListExadbVmClustersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14063,42 +14882,42 @@ func (client DatabaseClient) ListDbVersions(ctx context.Context, request ListDbV if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listDbVersions, policy) + ociResponse, err = common.Retry(ctx, request, client.listExadbVmClusters, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListDbVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListExadbVmClustersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListDbVersionsResponse{} + response = ListExadbVmClustersResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListDbVersionsResponse); ok { + if convertedResponse, ok := ociResponse.(ListExadbVmClustersResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListDbVersionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListExadbVmClustersResponse") } return } -// listDbVersions implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) listDbVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listExadbVmClusters implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listExadbVmClusters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbVersions", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadbVmClusters", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListDbVersionsResponse + var response ListExadbVmClustersResponse 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/DbVersionSummary/ListDbVersions" - err = common.PostProcessServiceError(err, "Database", "ListDbVersions", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/ListExadbVmClusters" + err = common.PostProcessServiceError(err, "Database", "ListExadbVmClusters", apiReferenceLink) return response, err } @@ -14106,13 +14925,12 @@ func (client DatabaseClient) listDbVersions(ctx context.Context, request common. return response, err } -// ListExadataInfrastructures Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. -// To list the Exadata Cloud Service infrastructure resources in a compartment, use the ListCloudExadataInfrastructures operation. +// ListExascaleDbStorageVaults Gets a list of the Exadata Database Storage Vaults in the specified compartment. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadataInfrastructures.go.html to see an example of how to use ListExadataInfrastructures API. -func (client DatabaseClient) ListExadataInfrastructures(ctx context.Context, request ListExadataInfrastructuresRequest) (response ListExadataInfrastructuresResponse, err error) { +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExascaleDbStorageVaults.go.html to see an example of how to use ListExascaleDbStorageVaults API. +func (client DatabaseClient) ListExascaleDbStorageVaults(ctx context.Context, request ListExascaleDbStorageVaultsRequest) (response ListExascaleDbStorageVaultsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -14121,42 +14939,42 @@ func (client DatabaseClient) ListExadataInfrastructures(ctx context.Context, req if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listExadataInfrastructures, policy) + ociResponse, err = common.Retry(ctx, request, client.listExascaleDbStorageVaults, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListExadataInfrastructuresResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListExascaleDbStorageVaultsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListExadataInfrastructuresResponse{} + response = ListExascaleDbStorageVaultsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListExadataInfrastructuresResponse); ok { + if convertedResponse, ok := ociResponse.(ListExascaleDbStorageVaultsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListExadataInfrastructuresResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListExascaleDbStorageVaultsResponse") } return } -// listExadataInfrastructures implements the OCIOperation interface (enables retrying operations) -func (client DatabaseClient) listExadataInfrastructures(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listExascaleDbStorageVaults implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listExascaleDbStorageVaults(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/exadataInfrastructures", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/exascaleDbStorageVaults", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListExadataInfrastructuresResponse + var response ListExascaleDbStorageVaultsResponse 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/ExadataInfrastructure/ListExadataInfrastructures" - err = common.PostProcessServiceError(err, "Database", "ListExadataInfrastructures", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExascaleDbStorageVault/ListExascaleDbStorageVaults" + err = common.PostProcessServiceError(err, "Database", "ListExascaleDbStorageVaults", apiReferenceLink) return response, err } @@ -14466,6 +15284,63 @@ func (client DatabaseClient) listFlexComponents(ctx context.Context, request com return response, err } +// ListGiVersionMinorVersions Gets a list of supported Oracle Grid Infrastructure minor versions for the given major version and shape family. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListGiVersionMinorVersions.go.html to see an example of how to use ListGiVersionMinorVersions API. +func (client DatabaseClient) ListGiVersionMinorVersions(ctx context.Context, request ListGiVersionMinorVersionsRequest) (response ListGiVersionMinorVersionsResponse, 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.listGiVersionMinorVersions, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListGiVersionMinorVersionsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListGiVersionMinorVersionsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListGiVersionMinorVersionsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListGiVersionMinorVersionsResponse") + } + return +} + +// listGiVersionMinorVersions implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) listGiVersionMinorVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/giVersions/{version}/minorVersions", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListGiVersionMinorVersionsResponse + 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/GiMinorVersionSummary/ListGiVersionMinorVersions" + err = common.PostProcessServiceError(err, "Database", "ListGiVersionMinorVersions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListGiVersions Gets a list of supported GI versions. // // # See also @@ -15936,6 +16811,68 @@ func (client DatabaseClient) removeVirtualMachineFromCloudVmCluster(ctx context. return response, err } +// RemoveVirtualMachineFromExadbVmCluster Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/RemoveVirtualMachineFromExadbVmCluster.go.html to see an example of how to use RemoveVirtualMachineFromExadbVmCluster API. +func (client DatabaseClient) RemoveVirtualMachineFromExadbVmCluster(ctx context.Context, request RemoveVirtualMachineFromExadbVmClusterRequest) (response RemoveVirtualMachineFromExadbVmClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removeVirtualMachineFromExadbVmCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RemoveVirtualMachineFromExadbVmClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RemoveVirtualMachineFromExadbVmClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RemoveVirtualMachineFromExadbVmClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RemoveVirtualMachineFromExadbVmClusterResponse") + } + return +} + +// removeVirtualMachineFromExadbVmCluster implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) removeVirtualMachineFromExadbVmCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/exadbVmClusters/{exadbVmClusterId}/actions/removeVirtualMachine", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response RemoveVirtualMachineFromExadbVmClusterResponse + 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/ExadbVmCluster/RemoveVirtualMachineFromExadbVmCluster" + err = common.PostProcessServiceError(err, "Database", "RemoveVirtualMachineFromExadbVmCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // RemoveVirtualMachineFromVmCluster Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer instances only. // // # See also @@ -19120,6 +20057,120 @@ func (client DatabaseClient) updateExadataIormConfig(ctx context.Context, reques return response, err } +// UpdateExadbVmCluster Updates the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateExadbVmCluster.go.html to see an example of how to use UpdateExadbVmCluster API. +func (client DatabaseClient) UpdateExadbVmCluster(ctx context.Context, request UpdateExadbVmClusterRequest) (response UpdateExadbVmClusterResponse, 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.updateExadbVmCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateExadbVmClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateExadbVmClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateExadbVmClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateExadbVmClusterResponse") + } + return +} + +// updateExadbVmCluster implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) updateExadbVmCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/exadbVmClusters/{exadbVmClusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateExadbVmClusterResponse + 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/ExadbVmCluster/UpdateExadbVmCluster" + err = common.PostProcessServiceError(err, "Database", "UpdateExadbVmCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateExascaleDbStorageVault Updates the specified Exadata Database Storage Vault. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateExascaleDbStorageVault.go.html to see an example of how to use UpdateExascaleDbStorageVault API. +func (client DatabaseClient) UpdateExascaleDbStorageVault(ctx context.Context, request UpdateExascaleDbStorageVaultRequest) (response UpdateExascaleDbStorageVaultResponse, 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.updateExascaleDbStorageVault, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateExascaleDbStorageVaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateExascaleDbStorageVaultResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateExascaleDbStorageVaultResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateExascaleDbStorageVaultResponse") + } + return +} + +// updateExascaleDbStorageVault implements the OCIOperation interface (enables retrying operations) +func (client DatabaseClient) updateExascaleDbStorageVault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/exascaleDbStorageVaults/{exascaleDbStorageVaultId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateExascaleDbStorageVaultResponse + 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/ExascaleDbStorageVault/UpdateExascaleDbStorageVault" + err = common.PostProcessServiceError(err, "Database", "UpdateExascaleDbStorageVault", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateExternalContainerDatabase Updates the properties of // an CreateExternalContainerDatabaseDetails resource, // such as the display name. diff --git a/database/database_software_image.go b/database/database_software_image.go index 76def07b43..80d08a8070 100644 --- a/database/database_software_image.go +++ b/database/database_software_image.go @@ -214,18 +214,21 @@ const ( DatabaseSoftwareImageImageShapeFamilyVmBmShape DatabaseSoftwareImageImageShapeFamilyEnum = "VM_BM_SHAPE" DatabaseSoftwareImageImageShapeFamilyExadataShape DatabaseSoftwareImageImageShapeFamilyEnum = "EXADATA_SHAPE" DatabaseSoftwareImageImageShapeFamilyExaccShape DatabaseSoftwareImageImageShapeFamilyEnum = "EXACC_SHAPE" + DatabaseSoftwareImageImageShapeFamilyExadbxsShape DatabaseSoftwareImageImageShapeFamilyEnum = "EXADBXS_SHAPE" ) var mappingDatabaseSoftwareImageImageShapeFamilyEnum = map[string]DatabaseSoftwareImageImageShapeFamilyEnum{ "VM_BM_SHAPE": DatabaseSoftwareImageImageShapeFamilyVmBmShape, "EXADATA_SHAPE": DatabaseSoftwareImageImageShapeFamilyExadataShape, "EXACC_SHAPE": DatabaseSoftwareImageImageShapeFamilyExaccShape, + "EXADBXS_SHAPE": DatabaseSoftwareImageImageShapeFamilyExadbxsShape, } var mappingDatabaseSoftwareImageImageShapeFamilyEnumLowerCase = map[string]DatabaseSoftwareImageImageShapeFamilyEnum{ "vm_bm_shape": DatabaseSoftwareImageImageShapeFamilyVmBmShape, "exadata_shape": DatabaseSoftwareImageImageShapeFamilyExadataShape, "exacc_shape": DatabaseSoftwareImageImageShapeFamilyExaccShape, + "exadbxs_shape": DatabaseSoftwareImageImageShapeFamilyExadbxsShape, } // GetDatabaseSoftwareImageImageShapeFamilyEnumValues Enumerates the set of values for DatabaseSoftwareImageImageShapeFamilyEnum @@ -243,6 +246,7 @@ func GetDatabaseSoftwareImageImageShapeFamilyEnumStringValues() []string { "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", + "EXADBXS_SHAPE", } } diff --git a/database/database_software_image_summary.go b/database/database_software_image_summary.go index 804b8a66fd..4c6937ca63 100644 --- a/database/database_software_image_summary.go +++ b/database/database_software_image_summary.go @@ -217,18 +217,21 @@ const ( DatabaseSoftwareImageSummaryImageShapeFamilyVmBmShape DatabaseSoftwareImageSummaryImageShapeFamilyEnum = "VM_BM_SHAPE" DatabaseSoftwareImageSummaryImageShapeFamilyExadataShape DatabaseSoftwareImageSummaryImageShapeFamilyEnum = "EXADATA_SHAPE" DatabaseSoftwareImageSummaryImageShapeFamilyExaccShape DatabaseSoftwareImageSummaryImageShapeFamilyEnum = "EXACC_SHAPE" + DatabaseSoftwareImageSummaryImageShapeFamilyExadbxsShape DatabaseSoftwareImageSummaryImageShapeFamilyEnum = "EXADBXS_SHAPE" ) var mappingDatabaseSoftwareImageSummaryImageShapeFamilyEnum = map[string]DatabaseSoftwareImageSummaryImageShapeFamilyEnum{ "VM_BM_SHAPE": DatabaseSoftwareImageSummaryImageShapeFamilyVmBmShape, "EXADATA_SHAPE": DatabaseSoftwareImageSummaryImageShapeFamilyExadataShape, "EXACC_SHAPE": DatabaseSoftwareImageSummaryImageShapeFamilyExaccShape, + "EXADBXS_SHAPE": DatabaseSoftwareImageSummaryImageShapeFamilyExadbxsShape, } var mappingDatabaseSoftwareImageSummaryImageShapeFamilyEnumLowerCase = map[string]DatabaseSoftwareImageSummaryImageShapeFamilyEnum{ "vm_bm_shape": DatabaseSoftwareImageSummaryImageShapeFamilyVmBmShape, "exadata_shape": DatabaseSoftwareImageSummaryImageShapeFamilyExadataShape, "exacc_shape": DatabaseSoftwareImageSummaryImageShapeFamilyExaccShape, + "exadbxs_shape": DatabaseSoftwareImageSummaryImageShapeFamilyExadbxsShape, } // GetDatabaseSoftwareImageSummaryImageShapeFamilyEnumValues Enumerates the set of values for DatabaseSoftwareImageSummaryImageShapeFamilyEnum @@ -246,6 +249,7 @@ func GetDatabaseSoftwareImageSummaryImageShapeFamilyEnumStringValues() []string "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", + "EXADBXS_SHAPE", } } diff --git a/database/db_node.go b/database/db_node.go index 8095eb247f..e3e3e994e5 100644 --- a/database/db_node.go +++ b/database/db_node.go @@ -98,6 +98,9 @@ type DbNode struct { // The allocated local node storage in GBs on the Db node. DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"` + // The total number of CPU cores reserved on the Db node. + TotalCpuCoreCount *int `mandatory:"false" json:"totalCpuCoreCount"` + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exacc Db server associated with the database node. DbServerId *string `mandatory:"false" json:"dbServerId"` } @@ -199,15 +202,18 @@ type DbNodeMaintenanceTypeEnum string // Set of constants representing the allowable values for DbNodeMaintenanceTypeEnum const ( - DbNodeMaintenanceTypeVmdbRebootMigration DbNodeMaintenanceTypeEnum = "VMDB_REBOOT_MIGRATION" + DbNodeMaintenanceTypeVmdbRebootMigration DbNodeMaintenanceTypeEnum = "VMDB_REBOOT_MIGRATION" + DbNodeMaintenanceTypeExadbxsRebootMigration DbNodeMaintenanceTypeEnum = "EXADBXS_REBOOT_MIGRATION" ) var mappingDbNodeMaintenanceTypeEnum = map[string]DbNodeMaintenanceTypeEnum{ - "VMDB_REBOOT_MIGRATION": DbNodeMaintenanceTypeVmdbRebootMigration, + "VMDB_REBOOT_MIGRATION": DbNodeMaintenanceTypeVmdbRebootMigration, + "EXADBXS_REBOOT_MIGRATION": DbNodeMaintenanceTypeExadbxsRebootMigration, } var mappingDbNodeMaintenanceTypeEnumLowerCase = map[string]DbNodeMaintenanceTypeEnum{ - "vmdb_reboot_migration": DbNodeMaintenanceTypeVmdbRebootMigration, + "vmdb_reboot_migration": DbNodeMaintenanceTypeVmdbRebootMigration, + "exadbxs_reboot_migration": DbNodeMaintenanceTypeExadbxsRebootMigration, } // GetDbNodeMaintenanceTypeEnumValues Enumerates the set of values for DbNodeMaintenanceTypeEnum @@ -223,6 +229,7 @@ func GetDbNodeMaintenanceTypeEnumValues() []DbNodeMaintenanceTypeEnum { func GetDbNodeMaintenanceTypeEnumStringValues() []string { return []string{ "VMDB_REBOOT_MIGRATION", + "EXADBXS_REBOOT_MIGRATION", } } diff --git a/database/db_node_details.go b/database/db_node_details.go new file mode 100644 index 0000000000..8e94d4545a --- /dev/null +++ b/database/db_node_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DbNodeDetails Details of the ExaCS Db node. Applies to Exadata Database Service on Exascale Infrastructure only. +type DbNodeDetails struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of ExaCS Db node. + DbNodeId *string `mandatory:"true" json:"dbNodeId"` +} + +func (m DbNodeDetails) 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 DbNodeDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/db_node_summary.go b/database/db_node_summary.go index a312ab567c..1450073784 100644 --- a/database/db_node_summary.go +++ b/database/db_node_summary.go @@ -100,6 +100,9 @@ type DbNodeSummary struct { // The allocated local node storage in GBs on the Db node. DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"` + // The total number of CPU cores reserved on the Db node. + TotalCpuCoreCount *int `mandatory:"false" json:"totalCpuCoreCount"` + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exacc Db server associated with the database node. DbServerId *string `mandatory:"false" json:"dbServerId"` } @@ -201,15 +204,18 @@ type DbNodeSummaryMaintenanceTypeEnum string // Set of constants representing the allowable values for DbNodeSummaryMaintenanceTypeEnum const ( - DbNodeSummaryMaintenanceTypeVmdbRebootMigration DbNodeSummaryMaintenanceTypeEnum = "VMDB_REBOOT_MIGRATION" + DbNodeSummaryMaintenanceTypeVmdbRebootMigration DbNodeSummaryMaintenanceTypeEnum = "VMDB_REBOOT_MIGRATION" + DbNodeSummaryMaintenanceTypeExadbxsRebootMigration DbNodeSummaryMaintenanceTypeEnum = "EXADBXS_REBOOT_MIGRATION" ) var mappingDbNodeSummaryMaintenanceTypeEnum = map[string]DbNodeSummaryMaintenanceTypeEnum{ - "VMDB_REBOOT_MIGRATION": DbNodeSummaryMaintenanceTypeVmdbRebootMigration, + "VMDB_REBOOT_MIGRATION": DbNodeSummaryMaintenanceTypeVmdbRebootMigration, + "EXADBXS_REBOOT_MIGRATION": DbNodeSummaryMaintenanceTypeExadbxsRebootMigration, } var mappingDbNodeSummaryMaintenanceTypeEnumLowerCase = map[string]DbNodeSummaryMaintenanceTypeEnum{ - "vmdb_reboot_migration": DbNodeSummaryMaintenanceTypeVmdbRebootMigration, + "vmdb_reboot_migration": DbNodeSummaryMaintenanceTypeVmdbRebootMigration, + "exadbxs_reboot_migration": DbNodeSummaryMaintenanceTypeExadbxsRebootMigration, } // GetDbNodeSummaryMaintenanceTypeEnumValues Enumerates the set of values for DbNodeSummaryMaintenanceTypeEnum @@ -225,6 +231,7 @@ func GetDbNodeSummaryMaintenanceTypeEnumValues() []DbNodeSummaryMaintenanceTypeE func GetDbNodeSummaryMaintenanceTypeEnumStringValues() []string { return []string{ "VMDB_REBOOT_MIGRATION", + "EXADBXS_REBOOT_MIGRATION", } } diff --git a/database/db_server.go b/database/db_server.go index c0b1fa0ad7..694cfb6211 100644 --- a/database/db_server.go +++ b/database/db_server.go @@ -15,10 +15,10 @@ import ( "strings" ) -// DbServer Details of the Exacc Db server resource. Applies to Exadata Cloud@Customer instances only. +// DbServer Details of the Db server resource. type DbServer struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exacc Db server. + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db server. Id *string `mandatory:"false" json:"id"` // The user-friendly name for the Db server. The name does not need to be unique. diff --git a/database/db_server_summary.go b/database/db_server_summary.go index d910e9f612..51bfda71a1 100644 --- a/database/db_server_summary.go +++ b/database/db_server_summary.go @@ -15,10 +15,10 @@ import ( "strings" ) -// DbServerSummary Details of the Exadata Cloud@Customer Db server. +// DbServerSummary Details of the Db server. type DbServerSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exacc Db server. + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db server. Id *string `mandatory:"false" json:"id"` // The user-friendly name for the Db server. The name does not need to be unique. diff --git a/database/delete_exadb_vm_cluster_request_response.go b/database/delete_exadb_vm_cluster_request_response.go new file mode 100644 index 0000000000..fd90407b3f --- /dev/null +++ b/database/delete_exadb_vm_cluster_request_response.go @@ -0,0 +1,95 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteExadbVmClusterRequest wrapper for the DeleteExadbVmCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExadbVmCluster.go.html to see an example of how to use DeleteExadbVmClusterRequest. +type DeleteExadbVmClusterRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request DeleteExadbVmClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteExadbVmClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteExadbVmClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteExadbVmClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request DeleteExadbVmClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteExadbVmClusterResponse wrapper for the DeleteExadbVmCluster operation +type DeleteExadbVmClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // 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"` + + // 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"` +} + +func (response DeleteExadbVmClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteExadbVmClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/delete_exascale_db_storage_vault_request_response.go b/database/delete_exascale_db_storage_vault_request_response.go new file mode 100644 index 0000000000..0a9abe7c44 --- /dev/null +++ b/database/delete_exascale_db_storage_vault_request_response.go @@ -0,0 +1,95 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteExascaleDbStorageVaultRequest wrapper for the DeleteExascaleDbStorageVault operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/DeleteExascaleDbStorageVault.go.html to see an example of how to use DeleteExascaleDbStorageVaultRequest. +type DeleteExascaleDbStorageVaultRequest struct { + + // The Exadata Database Storage Vault OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + ExascaleDbStorageVaultId *string `mandatory:"true" contributesTo:"path" name:"exascaleDbStorageVaultId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request DeleteExascaleDbStorageVaultRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteExascaleDbStorageVaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteExascaleDbStorageVaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteExascaleDbStorageVaultRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request DeleteExascaleDbStorageVaultRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteExascaleDbStorageVaultResponse wrapper for the DeleteExascaleDbStorageVault operation +type DeleteExascaleDbStorageVaultResponse struct { + + // The underlying http response + RawResponse *http.Response + + // 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"` + + // 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"` +} + +func (response DeleteExascaleDbStorageVaultResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteExascaleDbStorageVaultResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/exadb_vm_cluster.go b/database/exadb_vm_cluster.go new file mode 100644 index 0000000000..9280de39ba --- /dev/null +++ b/database/exadb_vm_cluster.go @@ -0,0 +1,339 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmCluster Details of the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. +type ExadbVmCluster struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata VM cluster on Exascale Infrastructure. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure. + BackupSubnetId *string `mandatory:"true" json:"backupSubnetId"` + + // The current state of the Exadata VM cluster on Exascale Infrastructure. + LifecycleState ExadbVmClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The number of nodes in the Exadata VM cluster on Exascale Infrastructure. + NodeCount *int `mandatory:"true" json:"nodeCount"` + + // The shape of the Exadata VM cluster on Exascale Infrastructure resource + Shape *string `mandatory:"true" json:"shape"` + + // The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and + // can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters. + // The maximum length of the combined hostname and domain is 63 characters. + // **Note:** The hostname must be unique within the subnet. If it is not unique, + // then the Exadata VM cluster on Exascale Infrastructure will fail to provision. + Hostname *string `mandatory:"true" json:"hostname"` + + // A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN + // resolver is enabled for the specified subnet, then the domain name for the subnet is used + // (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + // Applies to Exadata Database Service on Exascale Infrastructure only. + Domain *string `mandatory:"true" json:"domain"` + + // The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. + SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"` + + // The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. + TotalECpuCount *int `mandatory:"true" json:"totalECpuCount"` + + // The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. + EnabledECpuCount *int `mandatory:"true" json:"enabledECpuCount"` + + VmFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"true" json:"vmFileSystemStorage"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"` + + // The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // **NsgIds restrictions:** + // - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. + BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last maintenance update history entry. This value is updated when a maintenance update starts. + LastUpdateHistoryEntryId *string `mandatory:"false" json:"lastUpdateHistoryEntryId"` + + // The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure. + ListenerPort *int64 `mandatory:"false" json:"listenerPort"` + + // The date and time that the Exadata VM cluster on Exascale Infrastructure was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // Additional information about the current lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. + ClusterName *string `mandatory:"false" json:"clusterName"` + + // A valid Oracle Grid Infrastructure (GI) software version. + GiVersion *string `mandatory:"false" json:"giVersion"` + + // Grid Setup will be done using this grid image id + GridImageId *string `mandatory:"false" json:"gridImageId"` + + // The type of Grid Image + GridImageType ExadbVmClusterGridImageTypeEnum `mandatory:"false" json:"gridImageType,omitempty"` + + // Operating system version of the image. + SystemVersion *string `mandatory:"false" json:"systemVersion"` + + // The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. + LicenseModel ExadbVmClusterLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure. + // SCAN IP addresses are typically used for load balancing and are not assigned to any interface. + // Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // **Note:** For a single-node DB system, this list is empty. + ScanIpIds []string `mandatory:"false" json:"scanIpIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure. + // The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to + // enable failover. If one node fails, then the VIP is reassigned to another active node in the cluster. + VipIds []string `mandatory:"false" json:"vipIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. + ScanDnsRecordId *string `mandatory:"false" json:"scanDnsRecordId"` + + // 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"` + + // System 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). + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. + ScanDnsName *string `mandatory:"false" json:"scanDnsName"` + + // The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated. + ZoneId *string `mandatory:"false" json:"zoneId"` + + // The TCP Single Client Access Name (SCAN) port. The default port is 1521. + ScanListenerPortTcp *int `mandatory:"false" json:"scanListenerPortTcp"` + + // The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484. + ScanListenerPortTcpSsl *int `mandatory:"false" json:"scanListenerPortTcpSsl"` + + // The private zone ID in which you want DNS records to be created. + PrivateZoneId *string `mandatory:"false" json:"privateZoneId"` + + DataCollectionOptions *DataCollectionOptions `mandatory:"false" json:"dataCollectionOptions"` + + SnapshotFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"false" json:"snapshotFileSystemStorage"` + + TotalFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"false" json:"totalFileSystemStorage"` + + // The memory that you want to be allocated in GBs. Memory is calculated based on 11 GB per VM core reserved. + MemorySizeInGBs *int `mandatory:"false" json:"memorySizeInGBs"` + + IormConfigCache *ExadataIormConfig `mandatory:"false" json:"iormConfigCache"` +} + +func (m ExadbVmCluster) 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 ExadbVmCluster) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterLifecycleStateEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterGridImageTypeEnum(string(m.GridImageType)); !ok && m.GridImageType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for GridImageType: %s. Supported values are: %s.", m.GridImageType, strings.Join(GetExadbVmClusterGridImageTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingExadbVmClusterLicenseModelEnum(string(m.LicenseModel)); !ok && m.LicenseModel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseModel: %s. Supported values are: %s.", m.LicenseModel, strings.Join(GetExadbVmClusterLicenseModelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterLifecycleStateEnum +const ( + ExadbVmClusterLifecycleStateProvisioning ExadbVmClusterLifecycleStateEnum = "PROVISIONING" + ExadbVmClusterLifecycleStateAvailable ExadbVmClusterLifecycleStateEnum = "AVAILABLE" + ExadbVmClusterLifecycleStateUpdating ExadbVmClusterLifecycleStateEnum = "UPDATING" + ExadbVmClusterLifecycleStateTerminating ExadbVmClusterLifecycleStateEnum = "TERMINATING" + ExadbVmClusterLifecycleStateTerminated ExadbVmClusterLifecycleStateEnum = "TERMINATED" + ExadbVmClusterLifecycleStateFailed ExadbVmClusterLifecycleStateEnum = "FAILED" + ExadbVmClusterLifecycleStateMaintenanceInProgress ExadbVmClusterLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS" +) + +var mappingExadbVmClusterLifecycleStateEnum = map[string]ExadbVmClusterLifecycleStateEnum{ + "PROVISIONING": ExadbVmClusterLifecycleStateProvisioning, + "AVAILABLE": ExadbVmClusterLifecycleStateAvailable, + "UPDATING": ExadbVmClusterLifecycleStateUpdating, + "TERMINATING": ExadbVmClusterLifecycleStateTerminating, + "TERMINATED": ExadbVmClusterLifecycleStateTerminated, + "FAILED": ExadbVmClusterLifecycleStateFailed, + "MAINTENANCE_IN_PROGRESS": ExadbVmClusterLifecycleStateMaintenanceInProgress, +} + +var mappingExadbVmClusterLifecycleStateEnumLowerCase = map[string]ExadbVmClusterLifecycleStateEnum{ + "provisioning": ExadbVmClusterLifecycleStateProvisioning, + "available": ExadbVmClusterLifecycleStateAvailable, + "updating": ExadbVmClusterLifecycleStateUpdating, + "terminating": ExadbVmClusterLifecycleStateTerminating, + "terminated": ExadbVmClusterLifecycleStateTerminated, + "failed": ExadbVmClusterLifecycleStateFailed, + "maintenance_in_progress": ExadbVmClusterLifecycleStateMaintenanceInProgress, +} + +// GetExadbVmClusterLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterLifecycleStateEnum +func GetExadbVmClusterLifecycleStateEnumValues() []ExadbVmClusterLifecycleStateEnum { + values := make([]ExadbVmClusterLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterLifecycleStateEnum +func GetExadbVmClusterLifecycleStateEnumStringValues() []string { + return []string{ + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS", + } +} + +// GetMappingExadbVmClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterLifecycleStateEnum(val string) (ExadbVmClusterLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterGridImageTypeEnum Enum with underlying type: string +type ExadbVmClusterGridImageTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterGridImageTypeEnum +const ( + ExadbVmClusterGridImageTypeReleaseUpdate ExadbVmClusterGridImageTypeEnum = "RELEASE_UPDATE" + ExadbVmClusterGridImageTypeCustomImage ExadbVmClusterGridImageTypeEnum = "CUSTOM_IMAGE" +) + +var mappingExadbVmClusterGridImageTypeEnum = map[string]ExadbVmClusterGridImageTypeEnum{ + "RELEASE_UPDATE": ExadbVmClusterGridImageTypeReleaseUpdate, + "CUSTOM_IMAGE": ExadbVmClusterGridImageTypeCustomImage, +} + +var mappingExadbVmClusterGridImageTypeEnumLowerCase = map[string]ExadbVmClusterGridImageTypeEnum{ + "release_update": ExadbVmClusterGridImageTypeReleaseUpdate, + "custom_image": ExadbVmClusterGridImageTypeCustomImage, +} + +// GetExadbVmClusterGridImageTypeEnumValues Enumerates the set of values for ExadbVmClusterGridImageTypeEnum +func GetExadbVmClusterGridImageTypeEnumValues() []ExadbVmClusterGridImageTypeEnum { + values := make([]ExadbVmClusterGridImageTypeEnum, 0) + for _, v := range mappingExadbVmClusterGridImageTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterGridImageTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterGridImageTypeEnum +func GetExadbVmClusterGridImageTypeEnumStringValues() []string { + return []string{ + "RELEASE_UPDATE", + "CUSTOM_IMAGE", + } +} + +// GetMappingExadbVmClusterGridImageTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterGridImageTypeEnum(val string) (ExadbVmClusterGridImageTypeEnum, bool) { + enum, ok := mappingExadbVmClusterGridImageTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterLicenseModelEnum Enum with underlying type: string +type ExadbVmClusterLicenseModelEnum string + +// Set of constants representing the allowable values for ExadbVmClusterLicenseModelEnum +const ( + ExadbVmClusterLicenseModelLicenseIncluded ExadbVmClusterLicenseModelEnum = "LICENSE_INCLUDED" + ExadbVmClusterLicenseModelBringYourOwnLicense ExadbVmClusterLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingExadbVmClusterLicenseModelEnum = map[string]ExadbVmClusterLicenseModelEnum{ + "LICENSE_INCLUDED": ExadbVmClusterLicenseModelLicenseIncluded, + "BRING_YOUR_OWN_LICENSE": ExadbVmClusterLicenseModelBringYourOwnLicense, +} + +var mappingExadbVmClusterLicenseModelEnumLowerCase = map[string]ExadbVmClusterLicenseModelEnum{ + "license_included": ExadbVmClusterLicenseModelLicenseIncluded, + "bring_your_own_license": ExadbVmClusterLicenseModelBringYourOwnLicense, +} + +// GetExadbVmClusterLicenseModelEnumValues Enumerates the set of values for ExadbVmClusterLicenseModelEnum +func GetExadbVmClusterLicenseModelEnumValues() []ExadbVmClusterLicenseModelEnum { + values := make([]ExadbVmClusterLicenseModelEnum, 0) + for _, v := range mappingExadbVmClusterLicenseModelEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterLicenseModelEnumStringValues Enumerates the set of values in String for ExadbVmClusterLicenseModelEnum +func GetExadbVmClusterLicenseModelEnumStringValues() []string { + return []string{ + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingExadbVmClusterLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterLicenseModelEnum(val string) (ExadbVmClusterLicenseModelEnum, bool) { + enum, ok := mappingExadbVmClusterLicenseModelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exadb_vm_cluster_storage_details.go b/database/exadb_vm_cluster_storage_details.go new file mode 100644 index 0000000000..b50d7b046f --- /dev/null +++ b/database/exadb_vm_cluster_storage_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterStorageDetails Storage Details on the Exadata VM cluster. +type ExadbVmClusterStorageDetails struct { + + // Total Capacity + TotalSizeInGbs *int `mandatory:"true" json:"totalSizeInGbs"` +} + +func (m ExadbVmClusterStorageDetails) 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 ExadbVmClusterStorageDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/exadb_vm_cluster_summary.go b/database/exadb_vm_cluster_summary.go new file mode 100644 index 0000000000..d61ad87f22 --- /dev/null +++ b/database/exadb_vm_cluster_summary.go @@ -0,0 +1,337 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterSummary Details of the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. +type ExadbVmClusterSummary struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata VM cluster on Exascale Infrastructure. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure. + BackupSubnetId *string `mandatory:"true" json:"backupSubnetId"` + + // The current state of the Exadata VM cluster on Exascale Infrastructure. + LifecycleState ExadbVmClusterSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The number of nodes in the Exadata VM cluster on Exascale Infrastructure. + NodeCount *int `mandatory:"true" json:"nodeCount"` + + // The shape of the Exadata VM cluster on Exascale Infrastructure resource + Shape *string `mandatory:"true" json:"shape"` + + // The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and + // can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters. + // The maximum length of the combined hostname and domain is 63 characters. + // **Note:** The hostname must be unique within the subnet. If it is not unique, + // then the Exadata VM cluster on Exascale Infrastructure will fail to provision. + Hostname *string `mandatory:"true" json:"hostname"` + + // A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN + // resolver is enabled for the specified subnet, then the domain name for the subnet is used + // (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + // Applies to Exadata Database Service on Exascale Infrastructure only. + Domain *string `mandatory:"true" json:"domain"` + + // The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. + SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"` + + // The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. + TotalECpuCount *int `mandatory:"true" json:"totalECpuCount"` + + // The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. + EnabledECpuCount *int `mandatory:"true" json:"enabledECpuCount"` + + VmFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"true" json:"vmFileSystemStorage"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + ExascaleDbStorageVaultId *string `mandatory:"true" json:"exascaleDbStorageVaultId"` + + // The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // **NsgIds restrictions:** + // - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. + BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last maintenance update history entry. This value is updated when a maintenance update starts. + LastUpdateHistoryEntryId *string `mandatory:"false" json:"lastUpdateHistoryEntryId"` + + // The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure. + ListenerPort *int64 `mandatory:"false" json:"listenerPort"` + + // The date and time that the Exadata VM cluster on Exascale Infrastructure was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // Additional information about the current lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. + ClusterName *string `mandatory:"false" json:"clusterName"` + + // A valid Oracle Grid Infrastructure (GI) software version. + GiVersion *string `mandatory:"false" json:"giVersion"` + + // Grid Setup will be done using this grid image id + GridImageId *string `mandatory:"false" json:"gridImageId"` + + // The type of Grid Image + GridImageType ExadbVmClusterSummaryGridImageTypeEnum `mandatory:"false" json:"gridImageType,omitempty"` + + // Operating system version of the image. + SystemVersion *string `mandatory:"false" json:"systemVersion"` + + // The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. + LicenseModel ExadbVmClusterSummaryLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure. + // SCAN IP addresses are typically used for load balancing and are not assigned to any interface. + // Oracle Clusterware directs the requests to the appropriate nodes in the cluster. + // **Note:** For a single-node DB system, this list is empty. + ScanIpIds []string `mandatory:"false" json:"scanIpIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure. + // The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to + // enable failover. If one node fails, then the VIP is reassigned to another active node in the cluster. + VipIds []string `mandatory:"false" json:"vipIds"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. + ScanDnsRecordId *string `mandatory:"false" json:"scanDnsRecordId"` + + // 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"` + + // System 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). + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. + ScanDnsName *string `mandatory:"false" json:"scanDnsName"` + + // The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated. + ZoneId *string `mandatory:"false" json:"zoneId"` + + // The TCP Single Client Access Name (SCAN) port. The default port is 1521. + ScanListenerPortTcp *int `mandatory:"false" json:"scanListenerPortTcp"` + + // The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484. + ScanListenerPortTcpSsl *int `mandatory:"false" json:"scanListenerPortTcpSsl"` + + // The private zone ID in which you want DNS records to be created. + PrivateZoneId *string `mandatory:"false" json:"privateZoneId"` + + DataCollectionOptions *DataCollectionOptions `mandatory:"false" json:"dataCollectionOptions"` + + SnapshotFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"false" json:"snapshotFileSystemStorage"` + + TotalFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"false" json:"totalFileSystemStorage"` + + // The memory that you want to be allocated in GBs. Memory is calculated based on 11 GB per VM core reserved. + MemorySizeInGBs *int `mandatory:"false" json:"memorySizeInGBs"` +} + +func (m ExadbVmClusterSummary) 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 ExadbVmClusterSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterSummaryLifecycleStateEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterSummaryGridImageTypeEnum(string(m.GridImageType)); !ok && m.GridImageType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for GridImageType: %s. Supported values are: %s.", m.GridImageType, strings.Join(GetExadbVmClusterSummaryGridImageTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingExadbVmClusterSummaryLicenseModelEnum(string(m.LicenseModel)); !ok && m.LicenseModel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseModel: %s. Supported values are: %s.", m.LicenseModel, strings.Join(GetExadbVmClusterSummaryLicenseModelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterSummaryLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterSummaryLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterSummaryLifecycleStateEnum +const ( + ExadbVmClusterSummaryLifecycleStateProvisioning ExadbVmClusterSummaryLifecycleStateEnum = "PROVISIONING" + ExadbVmClusterSummaryLifecycleStateAvailable ExadbVmClusterSummaryLifecycleStateEnum = "AVAILABLE" + ExadbVmClusterSummaryLifecycleStateUpdating ExadbVmClusterSummaryLifecycleStateEnum = "UPDATING" + ExadbVmClusterSummaryLifecycleStateTerminating ExadbVmClusterSummaryLifecycleStateEnum = "TERMINATING" + ExadbVmClusterSummaryLifecycleStateTerminated ExadbVmClusterSummaryLifecycleStateEnum = "TERMINATED" + ExadbVmClusterSummaryLifecycleStateFailed ExadbVmClusterSummaryLifecycleStateEnum = "FAILED" + ExadbVmClusterSummaryLifecycleStateMaintenanceInProgress ExadbVmClusterSummaryLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS" +) + +var mappingExadbVmClusterSummaryLifecycleStateEnum = map[string]ExadbVmClusterSummaryLifecycleStateEnum{ + "PROVISIONING": ExadbVmClusterSummaryLifecycleStateProvisioning, + "AVAILABLE": ExadbVmClusterSummaryLifecycleStateAvailable, + "UPDATING": ExadbVmClusterSummaryLifecycleStateUpdating, + "TERMINATING": ExadbVmClusterSummaryLifecycleStateTerminating, + "TERMINATED": ExadbVmClusterSummaryLifecycleStateTerminated, + "FAILED": ExadbVmClusterSummaryLifecycleStateFailed, + "MAINTENANCE_IN_PROGRESS": ExadbVmClusterSummaryLifecycleStateMaintenanceInProgress, +} + +var mappingExadbVmClusterSummaryLifecycleStateEnumLowerCase = map[string]ExadbVmClusterSummaryLifecycleStateEnum{ + "provisioning": ExadbVmClusterSummaryLifecycleStateProvisioning, + "available": ExadbVmClusterSummaryLifecycleStateAvailable, + "updating": ExadbVmClusterSummaryLifecycleStateUpdating, + "terminating": ExadbVmClusterSummaryLifecycleStateTerminating, + "terminated": ExadbVmClusterSummaryLifecycleStateTerminated, + "failed": ExadbVmClusterSummaryLifecycleStateFailed, + "maintenance_in_progress": ExadbVmClusterSummaryLifecycleStateMaintenanceInProgress, +} + +// GetExadbVmClusterSummaryLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterSummaryLifecycleStateEnum +func GetExadbVmClusterSummaryLifecycleStateEnumValues() []ExadbVmClusterSummaryLifecycleStateEnum { + values := make([]ExadbVmClusterSummaryLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterSummaryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterSummaryLifecycleStateEnum +func GetExadbVmClusterSummaryLifecycleStateEnumStringValues() []string { + return []string{ + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + "MAINTENANCE_IN_PROGRESS", + } +} + +// GetMappingExadbVmClusterSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterSummaryLifecycleStateEnum(val string) (ExadbVmClusterSummaryLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterSummaryGridImageTypeEnum Enum with underlying type: string +type ExadbVmClusterSummaryGridImageTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterSummaryGridImageTypeEnum +const ( + ExadbVmClusterSummaryGridImageTypeReleaseUpdate ExadbVmClusterSummaryGridImageTypeEnum = "RELEASE_UPDATE" + ExadbVmClusterSummaryGridImageTypeCustomImage ExadbVmClusterSummaryGridImageTypeEnum = "CUSTOM_IMAGE" +) + +var mappingExadbVmClusterSummaryGridImageTypeEnum = map[string]ExadbVmClusterSummaryGridImageTypeEnum{ + "RELEASE_UPDATE": ExadbVmClusterSummaryGridImageTypeReleaseUpdate, + "CUSTOM_IMAGE": ExadbVmClusterSummaryGridImageTypeCustomImage, +} + +var mappingExadbVmClusterSummaryGridImageTypeEnumLowerCase = map[string]ExadbVmClusterSummaryGridImageTypeEnum{ + "release_update": ExadbVmClusterSummaryGridImageTypeReleaseUpdate, + "custom_image": ExadbVmClusterSummaryGridImageTypeCustomImage, +} + +// GetExadbVmClusterSummaryGridImageTypeEnumValues Enumerates the set of values for ExadbVmClusterSummaryGridImageTypeEnum +func GetExadbVmClusterSummaryGridImageTypeEnumValues() []ExadbVmClusterSummaryGridImageTypeEnum { + values := make([]ExadbVmClusterSummaryGridImageTypeEnum, 0) + for _, v := range mappingExadbVmClusterSummaryGridImageTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterSummaryGridImageTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterSummaryGridImageTypeEnum +func GetExadbVmClusterSummaryGridImageTypeEnumStringValues() []string { + return []string{ + "RELEASE_UPDATE", + "CUSTOM_IMAGE", + } +} + +// GetMappingExadbVmClusterSummaryGridImageTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterSummaryGridImageTypeEnum(val string) (ExadbVmClusterSummaryGridImageTypeEnum, bool) { + enum, ok := mappingExadbVmClusterSummaryGridImageTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterSummaryLicenseModelEnum Enum with underlying type: string +type ExadbVmClusterSummaryLicenseModelEnum string + +// Set of constants representing the allowable values for ExadbVmClusterSummaryLicenseModelEnum +const ( + ExadbVmClusterSummaryLicenseModelLicenseIncluded ExadbVmClusterSummaryLicenseModelEnum = "LICENSE_INCLUDED" + ExadbVmClusterSummaryLicenseModelBringYourOwnLicense ExadbVmClusterSummaryLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingExadbVmClusterSummaryLicenseModelEnum = map[string]ExadbVmClusterSummaryLicenseModelEnum{ + "LICENSE_INCLUDED": ExadbVmClusterSummaryLicenseModelLicenseIncluded, + "BRING_YOUR_OWN_LICENSE": ExadbVmClusterSummaryLicenseModelBringYourOwnLicense, +} + +var mappingExadbVmClusterSummaryLicenseModelEnumLowerCase = map[string]ExadbVmClusterSummaryLicenseModelEnum{ + "license_included": ExadbVmClusterSummaryLicenseModelLicenseIncluded, + "bring_your_own_license": ExadbVmClusterSummaryLicenseModelBringYourOwnLicense, +} + +// GetExadbVmClusterSummaryLicenseModelEnumValues Enumerates the set of values for ExadbVmClusterSummaryLicenseModelEnum +func GetExadbVmClusterSummaryLicenseModelEnumValues() []ExadbVmClusterSummaryLicenseModelEnum { + values := make([]ExadbVmClusterSummaryLicenseModelEnum, 0) + for _, v := range mappingExadbVmClusterSummaryLicenseModelEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterSummaryLicenseModelEnumStringValues Enumerates the set of values in String for ExadbVmClusterSummaryLicenseModelEnum +func GetExadbVmClusterSummaryLicenseModelEnumStringValues() []string { + return []string{ + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingExadbVmClusterSummaryLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterSummaryLicenseModelEnum(val string) (ExadbVmClusterSummaryLicenseModelEnum, bool) { + enum, ok := mappingExadbVmClusterSummaryLicenseModelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exadb_vm_cluster_update.go b/database/exadb_vm_cluster_update.go new file mode 100644 index 0000000000..5c67862bed --- /dev/null +++ b/database/exadb_vm_cluster_update.go @@ -0,0 +1,274 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterUpdate A maintenance update details for an Exadata VM cluster on Exascale Infrastructure. +type ExadbVmClusterUpdate struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update. + Id *string `mandatory:"true" json:"id"` + + // Details of the maintenance update package. + Description *string `mandatory:"true" json:"description"` + + // The type of cloud VM cluster maintenance update. + UpdateType ExadbVmClusterUpdateUpdateTypeEnum `mandatory:"true" json:"updateType"` + + // The date and time the maintenance update was released. + TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"` + + // The version of the maintenance update package. + Version *string `mandatory:"true" json:"version"` + + // The previous update action performed. + LastAction ExadbVmClusterUpdateLastActionEnum `mandatory:"false" json:"lastAction,omitempty"` + + // The possible actions performed by the update operation on the infrastructure components. + AvailableActions []ExadbVmClusterUpdateAvailableActionsEnum `mandatory:"false" json:"availableActions,omitempty"` + + // Descriptive text providing additional details about the lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The current state of the maintenance update. Dependent on value of `lastAction`. + LifecycleState ExadbVmClusterUpdateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` +} + +func (m ExadbVmClusterUpdate) 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 ExadbVmClusterUpdate) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterUpdateUpdateTypeEnum(string(m.UpdateType)); !ok && m.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", m.UpdateType, strings.Join(GetExadbVmClusterUpdateUpdateTypeEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterUpdateLastActionEnum(string(m.LastAction)); !ok && m.LastAction != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LastAction: %s. Supported values are: %s.", m.LastAction, strings.Join(GetExadbVmClusterUpdateLastActionEnumStringValues(), ","))) + } + for _, val := range m.AvailableActions { + if _, ok := GetMappingExadbVmClusterUpdateAvailableActionsEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AvailableActions: %s. Supported values are: %s.", val, strings.Join(GetExadbVmClusterUpdateAvailableActionsEnumStringValues(), ","))) + } + } + + if _, ok := GetMappingExadbVmClusterUpdateLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterUpdateLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterUpdateLastActionEnum Enum with underlying type: string +type ExadbVmClusterUpdateLastActionEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateLastActionEnum +const ( + ExadbVmClusterUpdateLastActionRollingApply ExadbVmClusterUpdateLastActionEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateLastActionNonRollingApply ExadbVmClusterUpdateLastActionEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateLastActionPrecheck ExadbVmClusterUpdateLastActionEnum = "PRECHECK" + ExadbVmClusterUpdateLastActionRollback ExadbVmClusterUpdateLastActionEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateLastActionEnum = map[string]ExadbVmClusterUpdateLastActionEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateLastActionRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateLastActionNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateLastActionPrecheck, + "ROLLBACK": ExadbVmClusterUpdateLastActionRollback, +} + +var mappingExadbVmClusterUpdateLastActionEnumLowerCase = map[string]ExadbVmClusterUpdateLastActionEnum{ + "rolling_apply": ExadbVmClusterUpdateLastActionRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateLastActionNonRollingApply, + "precheck": ExadbVmClusterUpdateLastActionPrecheck, + "rollback": ExadbVmClusterUpdateLastActionRollback, +} + +// GetExadbVmClusterUpdateLastActionEnumValues Enumerates the set of values for ExadbVmClusterUpdateLastActionEnum +func GetExadbVmClusterUpdateLastActionEnumValues() []ExadbVmClusterUpdateLastActionEnum { + values := make([]ExadbVmClusterUpdateLastActionEnum, 0) + for _, v := range mappingExadbVmClusterUpdateLastActionEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateLastActionEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateLastActionEnum +func GetExadbVmClusterUpdateLastActionEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateLastActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateLastActionEnum(val string) (ExadbVmClusterUpdateLastActionEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateLastActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateAvailableActionsEnum Enum with underlying type: string +type ExadbVmClusterUpdateAvailableActionsEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateAvailableActionsEnum +const ( + ExadbVmClusterUpdateAvailableActionsRollingApply ExadbVmClusterUpdateAvailableActionsEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateAvailableActionsNonRollingApply ExadbVmClusterUpdateAvailableActionsEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateAvailableActionsPrecheck ExadbVmClusterUpdateAvailableActionsEnum = "PRECHECK" + ExadbVmClusterUpdateAvailableActionsRollback ExadbVmClusterUpdateAvailableActionsEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateAvailableActionsEnum = map[string]ExadbVmClusterUpdateAvailableActionsEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateAvailableActionsRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateAvailableActionsNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateAvailableActionsPrecheck, + "ROLLBACK": ExadbVmClusterUpdateAvailableActionsRollback, +} + +var mappingExadbVmClusterUpdateAvailableActionsEnumLowerCase = map[string]ExadbVmClusterUpdateAvailableActionsEnum{ + "rolling_apply": ExadbVmClusterUpdateAvailableActionsRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateAvailableActionsNonRollingApply, + "precheck": ExadbVmClusterUpdateAvailableActionsPrecheck, + "rollback": ExadbVmClusterUpdateAvailableActionsRollback, +} + +// GetExadbVmClusterUpdateAvailableActionsEnumValues Enumerates the set of values for ExadbVmClusterUpdateAvailableActionsEnum +func GetExadbVmClusterUpdateAvailableActionsEnumValues() []ExadbVmClusterUpdateAvailableActionsEnum { + values := make([]ExadbVmClusterUpdateAvailableActionsEnum, 0) + for _, v := range mappingExadbVmClusterUpdateAvailableActionsEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateAvailableActionsEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateAvailableActionsEnum +func GetExadbVmClusterUpdateAvailableActionsEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateAvailableActionsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateAvailableActionsEnum(val string) (ExadbVmClusterUpdateAvailableActionsEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateAvailableActionsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateUpdateTypeEnum Enum with underlying type: string +type ExadbVmClusterUpdateUpdateTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateUpdateTypeEnum +const ( + ExadbVmClusterUpdateUpdateTypeGiUpgrade ExadbVmClusterUpdateUpdateTypeEnum = "GI_UPGRADE" + ExadbVmClusterUpdateUpdateTypeGiPatch ExadbVmClusterUpdateUpdateTypeEnum = "GI_PATCH" + ExadbVmClusterUpdateUpdateTypeOsUpdate ExadbVmClusterUpdateUpdateTypeEnum = "OS_UPDATE" +) + +var mappingExadbVmClusterUpdateUpdateTypeEnum = map[string]ExadbVmClusterUpdateUpdateTypeEnum{ + "GI_UPGRADE": ExadbVmClusterUpdateUpdateTypeGiUpgrade, + "GI_PATCH": ExadbVmClusterUpdateUpdateTypeGiPatch, + "OS_UPDATE": ExadbVmClusterUpdateUpdateTypeOsUpdate, +} + +var mappingExadbVmClusterUpdateUpdateTypeEnumLowerCase = map[string]ExadbVmClusterUpdateUpdateTypeEnum{ + "gi_upgrade": ExadbVmClusterUpdateUpdateTypeGiUpgrade, + "gi_patch": ExadbVmClusterUpdateUpdateTypeGiPatch, + "os_update": ExadbVmClusterUpdateUpdateTypeOsUpdate, +} + +// GetExadbVmClusterUpdateUpdateTypeEnumValues Enumerates the set of values for ExadbVmClusterUpdateUpdateTypeEnum +func GetExadbVmClusterUpdateUpdateTypeEnumValues() []ExadbVmClusterUpdateUpdateTypeEnum { + values := make([]ExadbVmClusterUpdateUpdateTypeEnum, 0) + for _, v := range mappingExadbVmClusterUpdateUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateUpdateTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateUpdateTypeEnum +func GetExadbVmClusterUpdateUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingExadbVmClusterUpdateUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateUpdateTypeEnum(val string) (ExadbVmClusterUpdateUpdateTypeEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterUpdateLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateLifecycleStateEnum +const ( + ExadbVmClusterUpdateLifecycleStateAvailable ExadbVmClusterUpdateLifecycleStateEnum = "AVAILABLE" + ExadbVmClusterUpdateLifecycleStateSuccess ExadbVmClusterUpdateLifecycleStateEnum = "SUCCESS" + ExadbVmClusterUpdateLifecycleStateInProgress ExadbVmClusterUpdateLifecycleStateEnum = "IN_PROGRESS" + ExadbVmClusterUpdateLifecycleStateFailed ExadbVmClusterUpdateLifecycleStateEnum = "FAILED" +) + +var mappingExadbVmClusterUpdateLifecycleStateEnum = map[string]ExadbVmClusterUpdateLifecycleStateEnum{ + "AVAILABLE": ExadbVmClusterUpdateLifecycleStateAvailable, + "SUCCESS": ExadbVmClusterUpdateLifecycleStateSuccess, + "IN_PROGRESS": ExadbVmClusterUpdateLifecycleStateInProgress, + "FAILED": ExadbVmClusterUpdateLifecycleStateFailed, +} + +var mappingExadbVmClusterUpdateLifecycleStateEnumLowerCase = map[string]ExadbVmClusterUpdateLifecycleStateEnum{ + "available": ExadbVmClusterUpdateLifecycleStateAvailable, + "success": ExadbVmClusterUpdateLifecycleStateSuccess, + "in_progress": ExadbVmClusterUpdateLifecycleStateInProgress, + "failed": ExadbVmClusterUpdateLifecycleStateFailed, +} + +// GetExadbVmClusterUpdateLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterUpdateLifecycleStateEnum +func GetExadbVmClusterUpdateLifecycleStateEnumValues() []ExadbVmClusterUpdateLifecycleStateEnum { + values := make([]ExadbVmClusterUpdateLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterUpdateLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateLifecycleStateEnum +func GetExadbVmClusterUpdateLifecycleStateEnumStringValues() []string { + return []string{ + "AVAILABLE", + "SUCCESS", + "IN_PROGRESS", + "FAILED", + } +} + +// GetMappingExadbVmClusterUpdateLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateLifecycleStateEnum(val string) (ExadbVmClusterUpdateLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exadb_vm_cluster_update_history_entry.go b/database/exadb_vm_cluster_update_history_entry.go new file mode 100644 index 0000000000..4c27a4202e --- /dev/null +++ b/database/exadb_vm_cluster_update_history_entry.go @@ -0,0 +1,214 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterUpdateHistoryEntry The record of an maintenance update action on a specified Exadata VM cluster on Exascale Infrastructure. +type ExadbVmClusterUpdateHistoryEntry struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update. + UpdateId *string `mandatory:"true" json:"updateId"` + + // The type of cloud VM cluster maintenance update. + UpdateType ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum `mandatory:"true" json:"updateType"` + + // The current lifecycle state of the maintenance update operation. + LifecycleState ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The date and time when the maintenance update action started. + TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` + + // The update action. + UpdateAction ExadbVmClusterUpdateHistoryEntryUpdateActionEnum `mandatory:"false" json:"updateAction,omitempty"` + + // Descriptive text providing additional details about the lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The date and time when the maintenance update action completed. + TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` + + // The version of the maintenance update package. + Version *string `mandatory:"false" json:"version"` +} + +func (m ExadbVmClusterUpdateHistoryEntry) 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 ExadbVmClusterUpdateHistoryEntry) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnum(string(m.UpdateType)); !ok && m.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", m.UpdateType, strings.Join(GetExadbVmClusterUpdateHistoryEntryUpdateTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterUpdateHistoryEntryLifecycleStateEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntryUpdateActionEnum(string(m.UpdateAction)); !ok && m.UpdateAction != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateAction: %s. Supported values are: %s.", m.UpdateAction, strings.Join(GetExadbVmClusterUpdateHistoryEntryUpdateActionEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterUpdateHistoryEntryUpdateActionEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntryUpdateActionEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntryUpdateActionEnum +const ( + ExadbVmClusterUpdateHistoryEntryUpdateActionRollingApply ExadbVmClusterUpdateHistoryEntryUpdateActionEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateHistoryEntryUpdateActionNonRollingApply ExadbVmClusterUpdateHistoryEntryUpdateActionEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateHistoryEntryUpdateActionPrecheck ExadbVmClusterUpdateHistoryEntryUpdateActionEnum = "PRECHECK" + ExadbVmClusterUpdateHistoryEntryUpdateActionRollback ExadbVmClusterUpdateHistoryEntryUpdateActionEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateHistoryEntryUpdateActionEnum = map[string]ExadbVmClusterUpdateHistoryEntryUpdateActionEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateHistoryEntryUpdateActionRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateHistoryEntryUpdateActionNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateHistoryEntryUpdateActionPrecheck, + "ROLLBACK": ExadbVmClusterUpdateHistoryEntryUpdateActionRollback, +} + +var mappingExadbVmClusterUpdateHistoryEntryUpdateActionEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntryUpdateActionEnum{ + "rolling_apply": ExadbVmClusterUpdateHistoryEntryUpdateActionRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateHistoryEntryUpdateActionNonRollingApply, + "precheck": ExadbVmClusterUpdateHistoryEntryUpdateActionPrecheck, + "rollback": ExadbVmClusterUpdateHistoryEntryUpdateActionRollback, +} + +// GetExadbVmClusterUpdateHistoryEntryUpdateActionEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntryUpdateActionEnum +func GetExadbVmClusterUpdateHistoryEntryUpdateActionEnumValues() []ExadbVmClusterUpdateHistoryEntryUpdateActionEnum { + values := make([]ExadbVmClusterUpdateHistoryEntryUpdateActionEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntryUpdateActionEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntryUpdateActionEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntryUpdateActionEnum +func GetExadbVmClusterUpdateHistoryEntryUpdateActionEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntryUpdateActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntryUpdateActionEnum(val string) (ExadbVmClusterUpdateHistoryEntryUpdateActionEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntryUpdateActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum +const ( + ExadbVmClusterUpdateHistoryEntryUpdateTypeGiUpgrade ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum = "GI_UPGRADE" + ExadbVmClusterUpdateHistoryEntryUpdateTypeGiPatch ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum = "GI_PATCH" + ExadbVmClusterUpdateHistoryEntryUpdateTypeOsUpdate ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum = "OS_UPDATE" +) + +var mappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnum = map[string]ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum{ + "GI_UPGRADE": ExadbVmClusterUpdateHistoryEntryUpdateTypeGiUpgrade, + "GI_PATCH": ExadbVmClusterUpdateHistoryEntryUpdateTypeGiPatch, + "OS_UPDATE": ExadbVmClusterUpdateHistoryEntryUpdateTypeOsUpdate, +} + +var mappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum{ + "gi_upgrade": ExadbVmClusterUpdateHistoryEntryUpdateTypeGiUpgrade, + "gi_patch": ExadbVmClusterUpdateHistoryEntryUpdateTypeGiPatch, + "os_update": ExadbVmClusterUpdateHistoryEntryUpdateTypeOsUpdate, +} + +// GetExadbVmClusterUpdateHistoryEntryUpdateTypeEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum +func GetExadbVmClusterUpdateHistoryEntryUpdateTypeEnumValues() []ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum { + values := make([]ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntryUpdateTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum +func GetExadbVmClusterUpdateHistoryEntryUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnum(val string) (ExadbVmClusterUpdateHistoryEntryUpdateTypeEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntryUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum +const ( + ExadbVmClusterUpdateHistoryEntryLifecycleStateInProgress ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum = "IN_PROGRESS" + ExadbVmClusterUpdateHistoryEntryLifecycleStateSucceeded ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum = "SUCCEEDED" + ExadbVmClusterUpdateHistoryEntryLifecycleStateFailed ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum = "FAILED" +) + +var mappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnum = map[string]ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum{ + "IN_PROGRESS": ExadbVmClusterUpdateHistoryEntryLifecycleStateInProgress, + "SUCCEEDED": ExadbVmClusterUpdateHistoryEntryLifecycleStateSucceeded, + "FAILED": ExadbVmClusterUpdateHistoryEntryLifecycleStateFailed, +} + +var mappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum{ + "in_progress": ExadbVmClusterUpdateHistoryEntryLifecycleStateInProgress, + "succeeded": ExadbVmClusterUpdateHistoryEntryLifecycleStateSucceeded, + "failed": ExadbVmClusterUpdateHistoryEntryLifecycleStateFailed, +} + +// GetExadbVmClusterUpdateHistoryEntryLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum +func GetExadbVmClusterUpdateHistoryEntryLifecycleStateEnumValues() []ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum { + values := make([]ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntryLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum +func GetExadbVmClusterUpdateHistoryEntryLifecycleStateEnumStringValues() []string { + return []string{ + "IN_PROGRESS", + "SUCCEEDED", + "FAILED", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnum(val string) (ExadbVmClusterUpdateHistoryEntryLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exadb_vm_cluster_update_history_entry_summary.go b/database/exadb_vm_cluster_update_history_entry_summary.go new file mode 100644 index 0000000000..b06cb2f5a1 --- /dev/null +++ b/database/exadb_vm_cluster_update_history_entry_summary.go @@ -0,0 +1,214 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterUpdateHistoryEntrySummary The record of an maintenance update action on a specified Exadata VM cluster on Exascale Infrastructure. +type ExadbVmClusterUpdateHistoryEntrySummary struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update. + UpdateId *string `mandatory:"true" json:"updateId"` + + // The type of cloud VM cluster maintenance update. + UpdateType ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum `mandatory:"true" json:"updateType"` + + // The current lifecycle state of the maintenance update operation. + LifecycleState ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The date and time when the maintenance update action started. + TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` + + // The update action. + UpdateAction ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum `mandatory:"false" json:"updateAction,omitempty"` + + // Descriptive text providing additional details about the lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The date and time when the maintenance update action completed. + TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` + + // The version of the maintenance update package. + Version *string `mandatory:"false" json:"version"` +} + +func (m ExadbVmClusterUpdateHistoryEntrySummary) 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 ExadbVmClusterUpdateHistoryEntrySummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum(string(m.UpdateType)); !ok && m.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", m.UpdateType, strings.Join(GetExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum(string(m.UpdateAction)); !ok && m.UpdateAction != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateAction: %s. Supported values are: %s.", m.UpdateAction, strings.Join(GetExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum +const ( + ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollingApply ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionNonRollingApply ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionPrecheck ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum = "PRECHECK" + ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollback ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum = map[string]ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionPrecheck, + "ROLLBACK": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollback, +} + +var mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum{ + "rolling_apply": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionNonRollingApply, + "precheck": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionPrecheck, + "rollback": ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionRollback, +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumValues() []ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum { + values := make([]ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum(val string) (ExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum +const ( + ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiUpgrade ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum = "GI_UPGRADE" + ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiPatch ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum = "GI_PATCH" + ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeOsUpdate ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum = "OS_UPDATE" +) + +var mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum = map[string]ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum{ + "GI_UPGRADE": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiUpgrade, + "GI_PATCH": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiPatch, + "OS_UPDATE": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeOsUpdate, +} + +var mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum{ + "gi_upgrade": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiUpgrade, + "gi_patch": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeGiPatch, + "os_update": ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeOsUpdate, +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumValues() []ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum { + values := make([]ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum(val string) (ExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntrySummaryUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum +const ( + ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateInProgress ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum = "IN_PROGRESS" + ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateSucceeded ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum = "SUCCEEDED" + ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateFailed ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum = "FAILED" +) + +var mappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum = map[string]ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum{ + "IN_PROGRESS": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateInProgress, + "SUCCEEDED": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateSucceeded, + "FAILED": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateFailed, +} + +var mappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumLowerCase = map[string]ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum{ + "in_progress": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateInProgress, + "succeeded": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateSucceeded, + "failed": ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateFailed, +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumValues() []ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum { + values := make([]ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum +func GetExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumStringValues() []string { + return []string{ + "IN_PROGRESS", + "SUCCEEDED", + "FAILED", + } +} + +// GetMappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum(val string) (ExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateHistoryEntrySummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exadb_vm_cluster_update_summary.go b/database/exadb_vm_cluster_update_summary.go new file mode 100644 index 0000000000..3f74d37fd7 --- /dev/null +++ b/database/exadb_vm_cluster_update_summary.go @@ -0,0 +1,277 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExadbVmClusterUpdateSummary A maintenance update details for an Exadata VM cluster on Exascale Infrastructure. +// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, +// talk to an administrator. If you're an administrator who needs to write policies to give users access, +// see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +type ExadbVmClusterUpdateSummary struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update. + Id *string `mandatory:"true" json:"id"` + + // Details of the maintenance update package. + Description *string `mandatory:"true" json:"description"` + + // The type of cloud VM cluster maintenance update. + UpdateType ExadbVmClusterUpdateSummaryUpdateTypeEnum `mandatory:"true" json:"updateType"` + + // The date and time the maintenance update was released. + TimeReleased *common.SDKTime `mandatory:"true" json:"timeReleased"` + + // The version of the maintenance update package. + Version *string `mandatory:"true" json:"version"` + + // The previous update action performed. + LastAction ExadbVmClusterUpdateSummaryLastActionEnum `mandatory:"false" json:"lastAction,omitempty"` + + // The possible actions performed by the update operation on the infrastructure components. + AvailableActions []ExadbVmClusterUpdateSummaryAvailableActionsEnum `mandatory:"false" json:"availableActions,omitempty"` + + // Descriptive text providing additional details about the lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The current state of the maintenance update. Dependent on value of `lastAction`. + LifecycleState ExadbVmClusterUpdateSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` +} + +func (m ExadbVmClusterUpdateSummary) 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 ExadbVmClusterUpdateSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExadbVmClusterUpdateSummaryUpdateTypeEnum(string(m.UpdateType)); !ok && m.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", m.UpdateType, strings.Join(GetExadbVmClusterUpdateSummaryUpdateTypeEnumStringValues(), ","))) + } + + if _, ok := GetMappingExadbVmClusterUpdateSummaryLastActionEnum(string(m.LastAction)); !ok && m.LastAction != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LastAction: %s. Supported values are: %s.", m.LastAction, strings.Join(GetExadbVmClusterUpdateSummaryLastActionEnumStringValues(), ","))) + } + for _, val := range m.AvailableActions { + if _, ok := GetMappingExadbVmClusterUpdateSummaryAvailableActionsEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AvailableActions: %s. Supported values are: %s.", val, strings.Join(GetExadbVmClusterUpdateSummaryAvailableActionsEnumStringValues(), ","))) + } + } + + if _, ok := GetMappingExadbVmClusterUpdateSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExadbVmClusterUpdateSummaryLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExadbVmClusterUpdateSummaryLastActionEnum Enum with underlying type: string +type ExadbVmClusterUpdateSummaryLastActionEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateSummaryLastActionEnum +const ( + ExadbVmClusterUpdateSummaryLastActionRollingApply ExadbVmClusterUpdateSummaryLastActionEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateSummaryLastActionNonRollingApply ExadbVmClusterUpdateSummaryLastActionEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateSummaryLastActionPrecheck ExadbVmClusterUpdateSummaryLastActionEnum = "PRECHECK" + ExadbVmClusterUpdateSummaryLastActionRollback ExadbVmClusterUpdateSummaryLastActionEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateSummaryLastActionEnum = map[string]ExadbVmClusterUpdateSummaryLastActionEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateSummaryLastActionRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateSummaryLastActionNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateSummaryLastActionPrecheck, + "ROLLBACK": ExadbVmClusterUpdateSummaryLastActionRollback, +} + +var mappingExadbVmClusterUpdateSummaryLastActionEnumLowerCase = map[string]ExadbVmClusterUpdateSummaryLastActionEnum{ + "rolling_apply": ExadbVmClusterUpdateSummaryLastActionRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateSummaryLastActionNonRollingApply, + "precheck": ExadbVmClusterUpdateSummaryLastActionPrecheck, + "rollback": ExadbVmClusterUpdateSummaryLastActionRollback, +} + +// GetExadbVmClusterUpdateSummaryLastActionEnumValues Enumerates the set of values for ExadbVmClusterUpdateSummaryLastActionEnum +func GetExadbVmClusterUpdateSummaryLastActionEnumValues() []ExadbVmClusterUpdateSummaryLastActionEnum { + values := make([]ExadbVmClusterUpdateSummaryLastActionEnum, 0) + for _, v := range mappingExadbVmClusterUpdateSummaryLastActionEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateSummaryLastActionEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateSummaryLastActionEnum +func GetExadbVmClusterUpdateSummaryLastActionEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateSummaryLastActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateSummaryLastActionEnum(val string) (ExadbVmClusterUpdateSummaryLastActionEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateSummaryLastActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateSummaryAvailableActionsEnum Enum with underlying type: string +type ExadbVmClusterUpdateSummaryAvailableActionsEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateSummaryAvailableActionsEnum +const ( + ExadbVmClusterUpdateSummaryAvailableActionsRollingApply ExadbVmClusterUpdateSummaryAvailableActionsEnum = "ROLLING_APPLY" + ExadbVmClusterUpdateSummaryAvailableActionsNonRollingApply ExadbVmClusterUpdateSummaryAvailableActionsEnum = "NON_ROLLING_APPLY" + ExadbVmClusterUpdateSummaryAvailableActionsPrecheck ExadbVmClusterUpdateSummaryAvailableActionsEnum = "PRECHECK" + ExadbVmClusterUpdateSummaryAvailableActionsRollback ExadbVmClusterUpdateSummaryAvailableActionsEnum = "ROLLBACK" +) + +var mappingExadbVmClusterUpdateSummaryAvailableActionsEnum = map[string]ExadbVmClusterUpdateSummaryAvailableActionsEnum{ + "ROLLING_APPLY": ExadbVmClusterUpdateSummaryAvailableActionsRollingApply, + "NON_ROLLING_APPLY": ExadbVmClusterUpdateSummaryAvailableActionsNonRollingApply, + "PRECHECK": ExadbVmClusterUpdateSummaryAvailableActionsPrecheck, + "ROLLBACK": ExadbVmClusterUpdateSummaryAvailableActionsRollback, +} + +var mappingExadbVmClusterUpdateSummaryAvailableActionsEnumLowerCase = map[string]ExadbVmClusterUpdateSummaryAvailableActionsEnum{ + "rolling_apply": ExadbVmClusterUpdateSummaryAvailableActionsRollingApply, + "non_rolling_apply": ExadbVmClusterUpdateSummaryAvailableActionsNonRollingApply, + "precheck": ExadbVmClusterUpdateSummaryAvailableActionsPrecheck, + "rollback": ExadbVmClusterUpdateSummaryAvailableActionsRollback, +} + +// GetExadbVmClusterUpdateSummaryAvailableActionsEnumValues Enumerates the set of values for ExadbVmClusterUpdateSummaryAvailableActionsEnum +func GetExadbVmClusterUpdateSummaryAvailableActionsEnumValues() []ExadbVmClusterUpdateSummaryAvailableActionsEnum { + values := make([]ExadbVmClusterUpdateSummaryAvailableActionsEnum, 0) + for _, v := range mappingExadbVmClusterUpdateSummaryAvailableActionsEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateSummaryAvailableActionsEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateSummaryAvailableActionsEnum +func GetExadbVmClusterUpdateSummaryAvailableActionsEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingExadbVmClusterUpdateSummaryAvailableActionsEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateSummaryAvailableActionsEnum(val string) (ExadbVmClusterUpdateSummaryAvailableActionsEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateSummaryAvailableActionsEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateSummaryUpdateTypeEnum Enum with underlying type: string +type ExadbVmClusterUpdateSummaryUpdateTypeEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateSummaryUpdateTypeEnum +const ( + ExadbVmClusterUpdateSummaryUpdateTypeGiUpgrade ExadbVmClusterUpdateSummaryUpdateTypeEnum = "GI_UPGRADE" + ExadbVmClusterUpdateSummaryUpdateTypeGiPatch ExadbVmClusterUpdateSummaryUpdateTypeEnum = "GI_PATCH" + ExadbVmClusterUpdateSummaryUpdateTypeOsUpdate ExadbVmClusterUpdateSummaryUpdateTypeEnum = "OS_UPDATE" +) + +var mappingExadbVmClusterUpdateSummaryUpdateTypeEnum = map[string]ExadbVmClusterUpdateSummaryUpdateTypeEnum{ + "GI_UPGRADE": ExadbVmClusterUpdateSummaryUpdateTypeGiUpgrade, + "GI_PATCH": ExadbVmClusterUpdateSummaryUpdateTypeGiPatch, + "OS_UPDATE": ExadbVmClusterUpdateSummaryUpdateTypeOsUpdate, +} + +var mappingExadbVmClusterUpdateSummaryUpdateTypeEnumLowerCase = map[string]ExadbVmClusterUpdateSummaryUpdateTypeEnum{ + "gi_upgrade": ExadbVmClusterUpdateSummaryUpdateTypeGiUpgrade, + "gi_patch": ExadbVmClusterUpdateSummaryUpdateTypeGiPatch, + "os_update": ExadbVmClusterUpdateSummaryUpdateTypeOsUpdate, +} + +// GetExadbVmClusterUpdateSummaryUpdateTypeEnumValues Enumerates the set of values for ExadbVmClusterUpdateSummaryUpdateTypeEnum +func GetExadbVmClusterUpdateSummaryUpdateTypeEnumValues() []ExadbVmClusterUpdateSummaryUpdateTypeEnum { + values := make([]ExadbVmClusterUpdateSummaryUpdateTypeEnum, 0) + for _, v := range mappingExadbVmClusterUpdateSummaryUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateSummaryUpdateTypeEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateSummaryUpdateTypeEnum +func GetExadbVmClusterUpdateSummaryUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingExadbVmClusterUpdateSummaryUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateSummaryUpdateTypeEnum(val string) (ExadbVmClusterUpdateSummaryUpdateTypeEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateSummaryUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ExadbVmClusterUpdateSummaryLifecycleStateEnum Enum with underlying type: string +type ExadbVmClusterUpdateSummaryLifecycleStateEnum string + +// Set of constants representing the allowable values for ExadbVmClusterUpdateSummaryLifecycleStateEnum +const ( + ExadbVmClusterUpdateSummaryLifecycleStateAvailable ExadbVmClusterUpdateSummaryLifecycleStateEnum = "AVAILABLE" + ExadbVmClusterUpdateSummaryLifecycleStateSuccess ExadbVmClusterUpdateSummaryLifecycleStateEnum = "SUCCESS" + ExadbVmClusterUpdateSummaryLifecycleStateInProgress ExadbVmClusterUpdateSummaryLifecycleStateEnum = "IN_PROGRESS" + ExadbVmClusterUpdateSummaryLifecycleStateFailed ExadbVmClusterUpdateSummaryLifecycleStateEnum = "FAILED" +) + +var mappingExadbVmClusterUpdateSummaryLifecycleStateEnum = map[string]ExadbVmClusterUpdateSummaryLifecycleStateEnum{ + "AVAILABLE": ExadbVmClusterUpdateSummaryLifecycleStateAvailable, + "SUCCESS": ExadbVmClusterUpdateSummaryLifecycleStateSuccess, + "IN_PROGRESS": ExadbVmClusterUpdateSummaryLifecycleStateInProgress, + "FAILED": ExadbVmClusterUpdateSummaryLifecycleStateFailed, +} + +var mappingExadbVmClusterUpdateSummaryLifecycleStateEnumLowerCase = map[string]ExadbVmClusterUpdateSummaryLifecycleStateEnum{ + "available": ExadbVmClusterUpdateSummaryLifecycleStateAvailable, + "success": ExadbVmClusterUpdateSummaryLifecycleStateSuccess, + "in_progress": ExadbVmClusterUpdateSummaryLifecycleStateInProgress, + "failed": ExadbVmClusterUpdateSummaryLifecycleStateFailed, +} + +// GetExadbVmClusterUpdateSummaryLifecycleStateEnumValues Enumerates the set of values for ExadbVmClusterUpdateSummaryLifecycleStateEnum +func GetExadbVmClusterUpdateSummaryLifecycleStateEnumValues() []ExadbVmClusterUpdateSummaryLifecycleStateEnum { + values := make([]ExadbVmClusterUpdateSummaryLifecycleStateEnum, 0) + for _, v := range mappingExadbVmClusterUpdateSummaryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExadbVmClusterUpdateSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ExadbVmClusterUpdateSummaryLifecycleStateEnum +func GetExadbVmClusterUpdateSummaryLifecycleStateEnumStringValues() []string { + return []string{ + "AVAILABLE", + "SUCCESS", + "IN_PROGRESS", + "FAILED", + } +} + +// GetMappingExadbVmClusterUpdateSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExadbVmClusterUpdateSummaryLifecycleStateEnum(val string) (ExadbVmClusterUpdateSummaryLifecycleStateEnum, bool) { + enum, ok := mappingExadbVmClusterUpdateSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exascale_db_storage_details.go b/database/exascale_db_storage_details.go new file mode 100644 index 0000000000..aa0e11eed0 --- /dev/null +++ b/database/exascale_db_storage_details.go @@ -0,0 +1,42 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExascaleDbStorageDetails Exadata Database Storage Details +type ExascaleDbStorageDetails struct { + + // Total Capacity + TotalSizeInGbs *int `mandatory:"false" json:"totalSizeInGbs"` + + // Available Capacity + AvailableSizeInGbs *int `mandatory:"false" json:"availableSizeInGbs"` +} + +func (m ExascaleDbStorageDetails) 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 ExascaleDbStorageDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/exascale_db_storage_input_details.go b/database/exascale_db_storage_input_details.go new file mode 100644 index 0000000000..8b2fb1c2cc --- /dev/null +++ b/database/exascale_db_storage_input_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExascaleDbStorageInputDetails Create exadata Database Storage Details +type ExascaleDbStorageInputDetails struct { + + // Total Capacity + TotalSizeInGbs *int `mandatory:"true" json:"totalSizeInGbs"` +} + +func (m ExascaleDbStorageInputDetails) 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 ExascaleDbStorageInputDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/exascale_db_storage_vault.go b/database/exascale_db_storage_vault.go new file mode 100644 index 0000000000..a4de0585f8 --- /dev/null +++ b/database/exascale_db_storage_vault.go @@ -0,0 +1,149 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExascaleDbStorageVault Details of the Exadata Database Storage Vault. +type ExascaleDbStorageVault struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The name of the availability domain in which the Exadata Database Storage Vault is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the Exadata Database Storage Vault. + LifecycleState ExascaleDbStorageVaultLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + HighCapacityDatabaseStorage *ExascaleDbStorageDetails `mandatory:"true" json:"highCapacityDatabaseStorage"` + + // Exadata Database Storage Vault description. + Description *string `mandatory:"false" json:"description"` + + // The date and time that the Exadata Database Storage Vault was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // Additional information about the current lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // The List of Exadata VM cluster on Exascale Infrastructure OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) + // **Note:** If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty. + VmClusterIds []string `mandatory:"false" json:"vmClusterIds"` + + // The number of Exadata VM clusters used the Exadata Database Storage Vault. + VmClusterCount *int `mandatory:"false" json:"vmClusterCount"` + + // 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"` + + // System 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). + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The size of additional Flash Cache in percentage of High Capacity database storage. + AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"` +} + +func (m ExascaleDbStorageVault) 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 ExascaleDbStorageVault) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExascaleDbStorageVaultLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExascaleDbStorageVaultLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExascaleDbStorageVaultLifecycleStateEnum Enum with underlying type: string +type ExascaleDbStorageVaultLifecycleStateEnum string + +// Set of constants representing the allowable values for ExascaleDbStorageVaultLifecycleStateEnum +const ( + ExascaleDbStorageVaultLifecycleStateProvisioning ExascaleDbStorageVaultLifecycleStateEnum = "PROVISIONING" + ExascaleDbStorageVaultLifecycleStateAvailable ExascaleDbStorageVaultLifecycleStateEnum = "AVAILABLE" + ExascaleDbStorageVaultLifecycleStateUpdating ExascaleDbStorageVaultLifecycleStateEnum = "UPDATING" + ExascaleDbStorageVaultLifecycleStateTerminating ExascaleDbStorageVaultLifecycleStateEnum = "TERMINATING" + ExascaleDbStorageVaultLifecycleStateTerminated ExascaleDbStorageVaultLifecycleStateEnum = "TERMINATED" + ExascaleDbStorageVaultLifecycleStateFailed ExascaleDbStorageVaultLifecycleStateEnum = "FAILED" +) + +var mappingExascaleDbStorageVaultLifecycleStateEnum = map[string]ExascaleDbStorageVaultLifecycleStateEnum{ + "PROVISIONING": ExascaleDbStorageVaultLifecycleStateProvisioning, + "AVAILABLE": ExascaleDbStorageVaultLifecycleStateAvailable, + "UPDATING": ExascaleDbStorageVaultLifecycleStateUpdating, + "TERMINATING": ExascaleDbStorageVaultLifecycleStateTerminating, + "TERMINATED": ExascaleDbStorageVaultLifecycleStateTerminated, + "FAILED": ExascaleDbStorageVaultLifecycleStateFailed, +} + +var mappingExascaleDbStorageVaultLifecycleStateEnumLowerCase = map[string]ExascaleDbStorageVaultLifecycleStateEnum{ + "provisioning": ExascaleDbStorageVaultLifecycleStateProvisioning, + "available": ExascaleDbStorageVaultLifecycleStateAvailable, + "updating": ExascaleDbStorageVaultLifecycleStateUpdating, + "terminating": ExascaleDbStorageVaultLifecycleStateTerminating, + "terminated": ExascaleDbStorageVaultLifecycleStateTerminated, + "failed": ExascaleDbStorageVaultLifecycleStateFailed, +} + +// GetExascaleDbStorageVaultLifecycleStateEnumValues Enumerates the set of values for ExascaleDbStorageVaultLifecycleStateEnum +func GetExascaleDbStorageVaultLifecycleStateEnumValues() []ExascaleDbStorageVaultLifecycleStateEnum { + values := make([]ExascaleDbStorageVaultLifecycleStateEnum, 0) + for _, v := range mappingExascaleDbStorageVaultLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetExascaleDbStorageVaultLifecycleStateEnumStringValues Enumerates the set of values in String for ExascaleDbStorageVaultLifecycleStateEnum +func GetExascaleDbStorageVaultLifecycleStateEnumStringValues() []string { + return []string{ + "PROVISIONING", + "AVAILABLE", + "UPDATING", + "TERMINATING", + "TERMINATED", + "FAILED", + } +} + +// GetMappingExascaleDbStorageVaultLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingExascaleDbStorageVaultLifecycleStateEnum(val string) (ExascaleDbStorageVaultLifecycleStateEnum, bool) { + enum, ok := mappingExascaleDbStorageVaultLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/exascale_db_storage_vault_summary.go b/database/exascale_db_storage_vault_summary.go new file mode 100644 index 0000000000..c2bd8f79d9 --- /dev/null +++ b/database/exascale_db_storage_vault_summary.go @@ -0,0 +1,87 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExascaleDbStorageVaultSummary Details of the Exadata Database Storage Vault. +type ExascaleDbStorageVaultSummary struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The name of the availability domain in which the Exadata Database Storage Vault is located. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the Exadata Database Storage Vault. + LifecycleState ExascaleDbStorageVaultLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. + DisplayName *string `mandatory:"true" json:"displayName"` + + HighCapacityDatabaseStorage *ExascaleDbStorageDetails `mandatory:"true" json:"highCapacityDatabaseStorage"` + + // The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). + TimeZone *string `mandatory:"false" json:"timeZone"` + + // Exadata Database Storage Vault description. + Description *string `mandatory:"false" json:"description"` + + // The date and time that the Exadata Database Storage Vault was created. + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // Additional information about the current lifecycle state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // 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"` + + // System 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). + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The size of additional Flash Cache in percentage of High Capacity database storage. + AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"` + + // The number of Exadata VM clusters used the Exadata Database Storage Vault. + VmClusterCount *int `mandatory:"false" json:"vmClusterCount"` +} + +func (m ExascaleDbStorageVaultSummary) 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 ExascaleDbStorageVaultSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingExascaleDbStorageVaultLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetExascaleDbStorageVaultLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/get_exadb_vm_cluster_request_response.go b/database/get_exadb_vm_cluster_request_response.go new file mode 100644 index 0000000000..f1e0a0ba3b --- /dev/null +++ b/database/get_exadb_vm_cluster_request_response.go @@ -0,0 +1,93 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetExadbVmClusterRequest wrapper for the GetExadbVmCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmCluster.go.html to see an example of how to use GetExadbVmClusterRequest. +type GetExadbVmClusterRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request GetExadbVmClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetExadbVmClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetExadbVmClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetExadbVmClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request GetExadbVmClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetExadbVmClusterResponse wrapper for the GetExadbVmCluster operation +type GetExadbVmClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmCluster instance + ExadbVmCluster `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response GetExadbVmClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetExadbVmClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/get_exadb_vm_cluster_update_history_entry_request_response.go b/database/get_exadb_vm_cluster_update_history_entry_request_response.go new file mode 100644 index 0000000000..b85e184bae --- /dev/null +++ b/database/get_exadb_vm_cluster_update_history_entry_request_response.go @@ -0,0 +1,96 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetExadbVmClusterUpdateHistoryEntryRequest wrapper for the GetExadbVmClusterUpdateHistoryEntry operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmClusterUpdateHistoryEntry.go.html to see an example of how to use GetExadbVmClusterUpdateHistoryEntryRequest. +type GetExadbVmClusterUpdateHistoryEntryRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update history entry. + UpdateHistoryEntryId *string `mandatory:"true" contributesTo:"path" name:"updateHistoryEntryId"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request GetExadbVmClusterUpdateHistoryEntryRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetExadbVmClusterUpdateHistoryEntryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetExadbVmClusterUpdateHistoryEntryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetExadbVmClusterUpdateHistoryEntryRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request GetExadbVmClusterUpdateHistoryEntryRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetExadbVmClusterUpdateHistoryEntryResponse wrapper for the GetExadbVmClusterUpdateHistoryEntry operation +type GetExadbVmClusterUpdateHistoryEntryResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmClusterUpdateHistoryEntry instance + ExadbVmClusterUpdateHistoryEntry `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response GetExadbVmClusterUpdateHistoryEntryResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetExadbVmClusterUpdateHistoryEntryResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/get_exadb_vm_cluster_update_request_response.go b/database/get_exadb_vm_cluster_update_request_response.go new file mode 100644 index 0000000000..8b2d982584 --- /dev/null +++ b/database/get_exadb_vm_cluster_update_request_response.go @@ -0,0 +1,93 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetExadbVmClusterUpdateRequest wrapper for the GetExadbVmClusterUpdate operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExadbVmClusterUpdate.go.html to see an example of how to use GetExadbVmClusterUpdateRequest. +type GetExadbVmClusterUpdateRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the maintenance update. + UpdateId *string `mandatory:"true" contributesTo:"path" name:"updateId"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request GetExadbVmClusterUpdateRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetExadbVmClusterUpdateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetExadbVmClusterUpdateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetExadbVmClusterUpdateRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request GetExadbVmClusterUpdateRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetExadbVmClusterUpdateResponse wrapper for the GetExadbVmClusterUpdate operation +type GetExadbVmClusterUpdateResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmClusterUpdate instance + ExadbVmClusterUpdate `presentIn:"body"` + + // 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"` +} + +func (response GetExadbVmClusterUpdateResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetExadbVmClusterUpdateResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/get_exascale_db_storage_vault_request_response.go b/database/get_exascale_db_storage_vault_request_response.go new file mode 100644 index 0000000000..1a68a6e686 --- /dev/null +++ b/database/get_exascale_db_storage_vault_request_response.go @@ -0,0 +1,93 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetExascaleDbStorageVaultRequest wrapper for the GetExascaleDbStorageVault operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetExascaleDbStorageVault.go.html to see an example of how to use GetExascaleDbStorageVaultRequest. +type GetExascaleDbStorageVaultRequest struct { + + // The Exadata Database Storage Vault OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + ExascaleDbStorageVaultId *string `mandatory:"true" contributesTo:"path" name:"exascaleDbStorageVaultId"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request GetExascaleDbStorageVaultRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetExascaleDbStorageVaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetExascaleDbStorageVaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetExascaleDbStorageVaultRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request GetExascaleDbStorageVaultRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetExascaleDbStorageVaultResponse wrapper for the GetExascaleDbStorageVault operation +type GetExascaleDbStorageVaultResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExascaleDbStorageVault instance + ExascaleDbStorageVault `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response GetExascaleDbStorageVaultResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetExascaleDbStorageVaultResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/gi_minor_version_summary.go b/database/gi_minor_version_summary.go new file mode 100644 index 0000000000..d5754c1787 --- /dev/null +++ b/database/gi_minor_version_summary.go @@ -0,0 +1,43 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// GiMinorVersionSummary The Oracle Grid Infrastructure (GI) minor version. +// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +type GiMinorVersionSummary struct { + + // A valid Oracle Grid Infrastructure (GI) software version. + Version *string `mandatory:"true" json:"version"` + + // Grid Infrastructure Image Id + GridImageId *string `mandatory:"false" json:"gridImageId"` +} + +func (m GiMinorVersionSummary) 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 GiMinorVersionSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/list_backups_request_response.go b/database/list_backups_request_response.go index ede37ff0f3..204429176a 100644 --- a/database/list_backups_request_response.go +++ b/database/list_backups_request_response.go @@ -30,6 +30,9 @@ type ListBackupsRequest struct { // The pagination token to continue listing from. Page *string `mandatory:"false" contributesTo:"query" name:"page"` + // If provided, filters the results to the set of database versions which are supported for the given shape family. + ShapeFamily ListBackupsShapeFamilyEnum `mandatory:"false" contributesTo:"query" name:"shapeFamily" omitEmpty:"true"` + // 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"` @@ -70,6 +73,9 @@ func (request ListBackupsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request ListBackupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingListBackupsShapeFamilyEnum(string(request.ShapeFamily)); !ok && request.ShapeFamily != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ShapeFamily: %s. Supported values are: %s.", request.ShapeFamily, strings.Join(GetListBackupsShapeFamilyEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -104,3 +110,61 @@ func (response ListBackupsResponse) String() string { func (response ListBackupsResponse) HTTPResponse() *http.Response { return response.RawResponse } + +// ListBackupsShapeFamilyEnum Enum with underlying type: string +type ListBackupsShapeFamilyEnum string + +// Set of constants representing the allowable values for ListBackupsShapeFamilyEnum +const ( + ListBackupsShapeFamilySinglenode ListBackupsShapeFamilyEnum = "SINGLENODE" + ListBackupsShapeFamilyYoda ListBackupsShapeFamilyEnum = "YODA" + ListBackupsShapeFamilyVirtualmachine ListBackupsShapeFamilyEnum = "VIRTUALMACHINE" + ListBackupsShapeFamilyExadata ListBackupsShapeFamilyEnum = "EXADATA" + ListBackupsShapeFamilyExacc ListBackupsShapeFamilyEnum = "EXACC" + ListBackupsShapeFamilyExadbXs ListBackupsShapeFamilyEnum = "EXADB_XS" +) + +var mappingListBackupsShapeFamilyEnum = map[string]ListBackupsShapeFamilyEnum{ + "SINGLENODE": ListBackupsShapeFamilySinglenode, + "YODA": ListBackupsShapeFamilyYoda, + "VIRTUALMACHINE": ListBackupsShapeFamilyVirtualmachine, + "EXADATA": ListBackupsShapeFamilyExadata, + "EXACC": ListBackupsShapeFamilyExacc, + "EXADB_XS": ListBackupsShapeFamilyExadbXs, +} + +var mappingListBackupsShapeFamilyEnumLowerCase = map[string]ListBackupsShapeFamilyEnum{ + "singlenode": ListBackupsShapeFamilySinglenode, + "yoda": ListBackupsShapeFamilyYoda, + "virtualmachine": ListBackupsShapeFamilyVirtualmachine, + "exadata": ListBackupsShapeFamilyExadata, + "exacc": ListBackupsShapeFamilyExacc, + "exadb_xs": ListBackupsShapeFamilyExadbXs, +} + +// GetListBackupsShapeFamilyEnumValues Enumerates the set of values for ListBackupsShapeFamilyEnum +func GetListBackupsShapeFamilyEnumValues() []ListBackupsShapeFamilyEnum { + values := make([]ListBackupsShapeFamilyEnum, 0) + for _, v := range mappingListBackupsShapeFamilyEnum { + values = append(values, v) + } + return values +} + +// GetListBackupsShapeFamilyEnumStringValues Enumerates the set of values in String for ListBackupsShapeFamilyEnum +func GetListBackupsShapeFamilyEnumStringValues() []string { + return []string{ + "SINGLENODE", + "YODA", + "VIRTUALMACHINE", + "EXADATA", + "EXACC", + "EXADB_XS", + } +} + +// GetMappingListBackupsShapeFamilyEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListBackupsShapeFamilyEnum(val string) (ListBackupsShapeFamilyEnum, bool) { + enum, ok := mappingListBackupsShapeFamilyEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_exadb_vm_cluster_update_history_entries_request_response.go b/database/list_exadb_vm_cluster_update_history_entries_request_response.go new file mode 100644 index 0000000000..ab5080f366 --- /dev/null +++ b/database/list_exadb_vm_cluster_update_history_entries_request_response.go @@ -0,0 +1,154 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListExadbVmClusterUpdateHistoryEntriesRequest wrapper for the ListExadbVmClusterUpdateHistoryEntries operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusterUpdateHistoryEntries.go.html to see an example of how to use ListExadbVmClusterUpdateHistoryEntriesRequest. +type ListExadbVmClusterUpdateHistoryEntriesRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // A filter to return only resources that match the given update type exactly. + UpdateType ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum `mandatory:"false" contributesTo:"query" name:"updateType" omitEmpty:"true"` + + // The maximum number of items to return per page. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The pagination token to continue listing from. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request ListExadbVmClusterUpdateHistoryEntriesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListExadbVmClusterUpdateHistoryEntriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListExadbVmClusterUpdateHistoryEntriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListExadbVmClusterUpdateHistoryEntriesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListExadbVmClusterUpdateHistoryEntriesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum(string(request.UpdateType)); !ok && request.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", request.UpdateType, strings.Join(GetListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListExadbVmClusterUpdateHistoryEntriesResponse wrapper for the ListExadbVmClusterUpdateHistoryEntries operation +type ListExadbVmClusterUpdateHistoryEntriesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []ExadbVmClusterUpdateHistoryEntrySummary instances + Items []ExadbVmClusterUpdateHistoryEntrySummary `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then there are additional items still to get. Include this value as the `page` parameter for the + // subsequent GET request. For information about pagination, see + // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListExadbVmClusterUpdateHistoryEntriesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListExadbVmClusterUpdateHistoryEntriesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum Enum with underlying type: string +type ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum string + +// Set of constants representing the allowable values for ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum +const ( + ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiUpgrade ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum = "GI_UPGRADE" + ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiPatch ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum = "GI_PATCH" + ListExadbVmClusterUpdateHistoryEntriesUpdateTypeOsUpdate ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum = "OS_UPDATE" +) + +var mappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum = map[string]ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum{ + "GI_UPGRADE": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiUpgrade, + "GI_PATCH": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiPatch, + "OS_UPDATE": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeOsUpdate, +} + +var mappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumLowerCase = map[string]ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum{ + "gi_upgrade": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiUpgrade, + "gi_patch": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeGiPatch, + "os_update": ListExadbVmClusterUpdateHistoryEntriesUpdateTypeOsUpdate, +} + +// GetListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumValues Enumerates the set of values for ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum +func GetListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumValues() []ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum { + values := make([]ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum, 0) + for _, v := range mappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumStringValues Enumerates the set of values in String for ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum +func GetListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum(val string) (ListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnum, bool) { + enum, ok := mappingListExadbVmClusterUpdateHistoryEntriesUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_exadb_vm_cluster_updates_request_response.go b/database/list_exadb_vm_cluster_updates_request_response.go new file mode 100644 index 0000000000..fe39f18ce7 --- /dev/null +++ b/database/list_exadb_vm_cluster_updates_request_response.go @@ -0,0 +1,157 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListExadbVmClusterUpdatesRequest wrapper for the ListExadbVmClusterUpdates operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusterUpdates.go.html to see an example of how to use ListExadbVmClusterUpdatesRequest. +type ListExadbVmClusterUpdatesRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // A filter to return only resources that match the given update type exactly. + UpdateType ListExadbVmClusterUpdatesUpdateTypeEnum `mandatory:"false" contributesTo:"query" name:"updateType" omitEmpty:"true"` + + // A filter to return only resources that match the given update version exactly. + Version *string `mandatory:"false" contributesTo:"query" name:"version"` + + // The maximum number of items to return per page. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The pagination token to continue listing from. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request ListExadbVmClusterUpdatesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListExadbVmClusterUpdatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListExadbVmClusterUpdatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListExadbVmClusterUpdatesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListExadbVmClusterUpdatesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListExadbVmClusterUpdatesUpdateTypeEnum(string(request.UpdateType)); !ok && request.UpdateType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateType: %s. Supported values are: %s.", request.UpdateType, strings.Join(GetListExadbVmClusterUpdatesUpdateTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListExadbVmClusterUpdatesResponse wrapper for the ListExadbVmClusterUpdates operation +type ListExadbVmClusterUpdatesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []ExadbVmClusterUpdateSummary instances + Items []ExadbVmClusterUpdateSummary `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then there are additional items still to get. Include this value as the `page` parameter for the + // subsequent GET request. For information about pagination, see + // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListExadbVmClusterUpdatesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListExadbVmClusterUpdatesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListExadbVmClusterUpdatesUpdateTypeEnum Enum with underlying type: string +type ListExadbVmClusterUpdatesUpdateTypeEnum string + +// Set of constants representing the allowable values for ListExadbVmClusterUpdatesUpdateTypeEnum +const ( + ListExadbVmClusterUpdatesUpdateTypeGiUpgrade ListExadbVmClusterUpdatesUpdateTypeEnum = "GI_UPGRADE" + ListExadbVmClusterUpdatesUpdateTypeGiPatch ListExadbVmClusterUpdatesUpdateTypeEnum = "GI_PATCH" + ListExadbVmClusterUpdatesUpdateTypeOsUpdate ListExadbVmClusterUpdatesUpdateTypeEnum = "OS_UPDATE" +) + +var mappingListExadbVmClusterUpdatesUpdateTypeEnum = map[string]ListExadbVmClusterUpdatesUpdateTypeEnum{ + "GI_UPGRADE": ListExadbVmClusterUpdatesUpdateTypeGiUpgrade, + "GI_PATCH": ListExadbVmClusterUpdatesUpdateTypeGiPatch, + "OS_UPDATE": ListExadbVmClusterUpdatesUpdateTypeOsUpdate, +} + +var mappingListExadbVmClusterUpdatesUpdateTypeEnumLowerCase = map[string]ListExadbVmClusterUpdatesUpdateTypeEnum{ + "gi_upgrade": ListExadbVmClusterUpdatesUpdateTypeGiUpgrade, + "gi_patch": ListExadbVmClusterUpdatesUpdateTypeGiPatch, + "os_update": ListExadbVmClusterUpdatesUpdateTypeOsUpdate, +} + +// GetListExadbVmClusterUpdatesUpdateTypeEnumValues Enumerates the set of values for ListExadbVmClusterUpdatesUpdateTypeEnum +func GetListExadbVmClusterUpdatesUpdateTypeEnumValues() []ListExadbVmClusterUpdatesUpdateTypeEnum { + values := make([]ListExadbVmClusterUpdatesUpdateTypeEnum, 0) + for _, v := range mappingListExadbVmClusterUpdatesUpdateTypeEnum { + values = append(values, v) + } + return values +} + +// GetListExadbVmClusterUpdatesUpdateTypeEnumStringValues Enumerates the set of values in String for ListExadbVmClusterUpdatesUpdateTypeEnum +func GetListExadbVmClusterUpdatesUpdateTypeEnumStringValues() []string { + return []string{ + "GI_UPGRADE", + "GI_PATCH", + "OS_UPDATE", + } +} + +// GetMappingListExadbVmClusterUpdatesUpdateTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExadbVmClusterUpdatesUpdateTypeEnum(val string) (ListExadbVmClusterUpdatesUpdateTypeEnum, bool) { + enum, ok := mappingListExadbVmClusterUpdatesUpdateTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_exadb_vm_clusters_request_response.go b/database/list_exadb_vm_clusters_request_response.go new file mode 100644 index 0000000000..beb42c43e5 --- /dev/null +++ b/database/list_exadb_vm_clusters_request_response.go @@ -0,0 +1,210 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListExadbVmClustersRequest wrapper for the ListExadbVmClusters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExadbVmClusters.go.html to see an example of how to use ListExadbVmClustersRequest. +type ListExadbVmClustersRequest struct { + + // The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // The maximum number of items to return per page. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The pagination token to continue listing from. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. + SortBy ListExadbVmClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListExadbVmClustersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given lifecycle state exactly. + LifecycleState ExadbVmClusterSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` + + // A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given Exascale Database Storage Vault ID. + ExascaleDbStorageVaultId *string `mandatory:"false" contributesTo:"query" name:"exascaleDbStorageVaultId"` + + // A filter to return only resources that match the entire display name given. The match is not case sensitive. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request ListExadbVmClustersRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListExadbVmClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListExadbVmClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListExadbVmClustersRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListExadbVmClustersRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListExadbVmClustersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListExadbVmClustersSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListExadbVmClustersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListExadbVmClustersSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingExadbVmClusterSummaryLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetExadbVmClusterSummaryLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListExadbVmClustersResponse wrapper for the ListExadbVmClusters operation +type ListExadbVmClustersResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []ExadbVmClusterSummary instances + Items []ExadbVmClusterSummary `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then there are additional items still to get. Include this value as the `page` parameter for the + // subsequent GET request. For information about pagination, see + // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListExadbVmClustersResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListExadbVmClustersResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListExadbVmClustersSortByEnum Enum with underlying type: string +type ListExadbVmClustersSortByEnum string + +// Set of constants representing the allowable values for ListExadbVmClustersSortByEnum +const ( + ListExadbVmClustersSortByTimecreated ListExadbVmClustersSortByEnum = "TIMECREATED" + ListExadbVmClustersSortByDisplayname ListExadbVmClustersSortByEnum = "DISPLAYNAME" +) + +var mappingListExadbVmClustersSortByEnum = map[string]ListExadbVmClustersSortByEnum{ + "TIMECREATED": ListExadbVmClustersSortByTimecreated, + "DISPLAYNAME": ListExadbVmClustersSortByDisplayname, +} + +var mappingListExadbVmClustersSortByEnumLowerCase = map[string]ListExadbVmClustersSortByEnum{ + "timecreated": ListExadbVmClustersSortByTimecreated, + "displayname": ListExadbVmClustersSortByDisplayname, +} + +// GetListExadbVmClustersSortByEnumValues Enumerates the set of values for ListExadbVmClustersSortByEnum +func GetListExadbVmClustersSortByEnumValues() []ListExadbVmClustersSortByEnum { + values := make([]ListExadbVmClustersSortByEnum, 0) + for _, v := range mappingListExadbVmClustersSortByEnum { + values = append(values, v) + } + return values +} + +// GetListExadbVmClustersSortByEnumStringValues Enumerates the set of values in String for ListExadbVmClustersSortByEnum +func GetListExadbVmClustersSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListExadbVmClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExadbVmClustersSortByEnum(val string) (ListExadbVmClustersSortByEnum, bool) { + enum, ok := mappingListExadbVmClustersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListExadbVmClustersSortOrderEnum Enum with underlying type: string +type ListExadbVmClustersSortOrderEnum string + +// Set of constants representing the allowable values for ListExadbVmClustersSortOrderEnum +const ( + ListExadbVmClustersSortOrderAsc ListExadbVmClustersSortOrderEnum = "ASC" + ListExadbVmClustersSortOrderDesc ListExadbVmClustersSortOrderEnum = "DESC" +) + +var mappingListExadbVmClustersSortOrderEnum = map[string]ListExadbVmClustersSortOrderEnum{ + "ASC": ListExadbVmClustersSortOrderAsc, + "DESC": ListExadbVmClustersSortOrderDesc, +} + +var mappingListExadbVmClustersSortOrderEnumLowerCase = map[string]ListExadbVmClustersSortOrderEnum{ + "asc": ListExadbVmClustersSortOrderAsc, + "desc": ListExadbVmClustersSortOrderDesc, +} + +// GetListExadbVmClustersSortOrderEnumValues Enumerates the set of values for ListExadbVmClustersSortOrderEnum +func GetListExadbVmClustersSortOrderEnumValues() []ListExadbVmClustersSortOrderEnum { + values := make([]ListExadbVmClustersSortOrderEnum, 0) + for _, v := range mappingListExadbVmClustersSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListExadbVmClustersSortOrderEnumStringValues Enumerates the set of values in String for ListExadbVmClustersSortOrderEnum +func GetListExadbVmClustersSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListExadbVmClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExadbVmClustersSortOrderEnum(val string) (ListExadbVmClustersSortOrderEnum, bool) { + enum, ok := mappingListExadbVmClustersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_exascale_db_storage_vaults_request_response.go b/database/list_exascale_db_storage_vaults_request_response.go new file mode 100644 index 0000000000..59fb7ec4bd --- /dev/null +++ b/database/list_exascale_db_storage_vaults_request_response.go @@ -0,0 +1,207 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListExascaleDbStorageVaultsRequest wrapper for the ListExascaleDbStorageVaults operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListExascaleDbStorageVaults.go.html to see an example of how to use ListExascaleDbStorageVaultsRequest. +type ListExascaleDbStorageVaultsRequest struct { + + // The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // The maximum number of items to return per page. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The pagination token to continue listing from. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. + SortBy ListExascaleDbStorageVaultsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListExascaleDbStorageVaultsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly. + LifecycleState ExascaleDbStorageVaultLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` + + // A filter to return only resources that match the entire display name given. The match is not case sensitive. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request ListExascaleDbStorageVaultsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListExascaleDbStorageVaultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListExascaleDbStorageVaultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListExascaleDbStorageVaultsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListExascaleDbStorageVaultsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListExascaleDbStorageVaultsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListExascaleDbStorageVaultsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListExascaleDbStorageVaultsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListExascaleDbStorageVaultsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingExascaleDbStorageVaultLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetExascaleDbStorageVaultLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListExascaleDbStorageVaultsResponse wrapper for the ListExascaleDbStorageVaults operation +type ListExascaleDbStorageVaultsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []ExascaleDbStorageVaultSummary instances + Items []ExascaleDbStorageVaultSummary `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then there are additional items still to get. Include this value as the `page` parameter for the + // subsequent GET request. For information about pagination, see + // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListExascaleDbStorageVaultsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListExascaleDbStorageVaultsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListExascaleDbStorageVaultsSortByEnum Enum with underlying type: string +type ListExascaleDbStorageVaultsSortByEnum string + +// Set of constants representing the allowable values for ListExascaleDbStorageVaultsSortByEnum +const ( + ListExascaleDbStorageVaultsSortByTimecreated ListExascaleDbStorageVaultsSortByEnum = "TIMECREATED" + ListExascaleDbStorageVaultsSortByDisplayname ListExascaleDbStorageVaultsSortByEnum = "DISPLAYNAME" +) + +var mappingListExascaleDbStorageVaultsSortByEnum = map[string]ListExascaleDbStorageVaultsSortByEnum{ + "TIMECREATED": ListExascaleDbStorageVaultsSortByTimecreated, + "DISPLAYNAME": ListExascaleDbStorageVaultsSortByDisplayname, +} + +var mappingListExascaleDbStorageVaultsSortByEnumLowerCase = map[string]ListExascaleDbStorageVaultsSortByEnum{ + "timecreated": ListExascaleDbStorageVaultsSortByTimecreated, + "displayname": ListExascaleDbStorageVaultsSortByDisplayname, +} + +// GetListExascaleDbStorageVaultsSortByEnumValues Enumerates the set of values for ListExascaleDbStorageVaultsSortByEnum +func GetListExascaleDbStorageVaultsSortByEnumValues() []ListExascaleDbStorageVaultsSortByEnum { + values := make([]ListExascaleDbStorageVaultsSortByEnum, 0) + for _, v := range mappingListExascaleDbStorageVaultsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListExascaleDbStorageVaultsSortByEnumStringValues Enumerates the set of values in String for ListExascaleDbStorageVaultsSortByEnum +func GetListExascaleDbStorageVaultsSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListExascaleDbStorageVaultsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExascaleDbStorageVaultsSortByEnum(val string) (ListExascaleDbStorageVaultsSortByEnum, bool) { + enum, ok := mappingListExascaleDbStorageVaultsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListExascaleDbStorageVaultsSortOrderEnum Enum with underlying type: string +type ListExascaleDbStorageVaultsSortOrderEnum string + +// Set of constants representing the allowable values for ListExascaleDbStorageVaultsSortOrderEnum +const ( + ListExascaleDbStorageVaultsSortOrderAsc ListExascaleDbStorageVaultsSortOrderEnum = "ASC" + ListExascaleDbStorageVaultsSortOrderDesc ListExascaleDbStorageVaultsSortOrderEnum = "DESC" +) + +var mappingListExascaleDbStorageVaultsSortOrderEnum = map[string]ListExascaleDbStorageVaultsSortOrderEnum{ + "ASC": ListExascaleDbStorageVaultsSortOrderAsc, + "DESC": ListExascaleDbStorageVaultsSortOrderDesc, +} + +var mappingListExascaleDbStorageVaultsSortOrderEnumLowerCase = map[string]ListExascaleDbStorageVaultsSortOrderEnum{ + "asc": ListExascaleDbStorageVaultsSortOrderAsc, + "desc": ListExascaleDbStorageVaultsSortOrderDesc, +} + +// GetListExascaleDbStorageVaultsSortOrderEnumValues Enumerates the set of values for ListExascaleDbStorageVaultsSortOrderEnum +func GetListExascaleDbStorageVaultsSortOrderEnumValues() []ListExascaleDbStorageVaultsSortOrderEnum { + values := make([]ListExascaleDbStorageVaultsSortOrderEnum, 0) + for _, v := range mappingListExascaleDbStorageVaultsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListExascaleDbStorageVaultsSortOrderEnumStringValues Enumerates the set of values in String for ListExascaleDbStorageVaultsSortOrderEnum +func GetListExascaleDbStorageVaultsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListExascaleDbStorageVaultsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListExascaleDbStorageVaultsSortOrderEnum(val string) (ListExascaleDbStorageVaultsSortOrderEnum, bool) { + enum, ok := mappingListExascaleDbStorageVaultsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_gi_version_minor_versions_request_response.go b/database/list_gi_version_minor_versions_request_response.go new file mode 100644 index 0000000000..b3807a7dca --- /dev/null +++ b/database/list_gi_version_minor_versions_request_response.go @@ -0,0 +1,270 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListGiVersionMinorVersionsRequest wrapper for the ListGiVersionMinorVersions operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListGiVersionMinorVersions.go.html to see an example of how to use ListGiVersionMinorVersionsRequest. +type ListGiVersionMinorVersionsRequest struct { + + // The Oracle Grid Infrastructure major version. + Version *string `mandatory:"true" contributesTo:"path" name:"version"` + + // The target availability domain. Only passed if the limit is AD-specific. + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // If provided, filters the results to the set of database versions which are supported for the given shape family. + ShapeFamily ListGiVersionMinorVersionsShapeFamilyEnum `mandatory:"false" contributesTo:"query" name:"shapeFamily" omitEmpty:"true"` + + // If true, returns the Grid Infrastructure versions that can be used for provisioning a cluster + IsGiVersionForProvisioning *bool `mandatory:"false" contributesTo:"query" name:"isGiVersionForProvisioning"` + + // If provided, filters the results for the given shape. + Shape *string `mandatory:"false" contributesTo:"query" name:"shape"` + + // Sort by VERSION. Default order for VERSION is descending. + SortBy ListGiVersionMinorVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListGiVersionMinorVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The maximum number of items to return per page. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The pagination token to continue listing from. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // 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 +} + +func (request ListGiVersionMinorVersionsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListGiVersionMinorVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListGiVersionMinorVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListGiVersionMinorVersionsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListGiVersionMinorVersionsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListGiVersionMinorVersionsShapeFamilyEnum(string(request.ShapeFamily)); !ok && request.ShapeFamily != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ShapeFamily: %s. Supported values are: %s.", request.ShapeFamily, strings.Join(GetListGiVersionMinorVersionsShapeFamilyEnumStringValues(), ","))) + } + if _, ok := GetMappingListGiVersionMinorVersionsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListGiVersionMinorVersionsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListGiVersionMinorVersionsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListGiVersionMinorVersionsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListGiVersionMinorVersionsResponse wrapper for the ListGiVersionMinorVersions operation +type ListGiVersionMinorVersionsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []GiMinorVersionSummary instances + Items []GiMinorVersionSummary `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then there are additional items still to get. Include this value as the `page` parameter for the + // subsequent GET request. For information about pagination, see + // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListGiVersionMinorVersionsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListGiVersionMinorVersionsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListGiVersionMinorVersionsShapeFamilyEnum Enum with underlying type: string +type ListGiVersionMinorVersionsShapeFamilyEnum string + +// Set of constants representing the allowable values for ListGiVersionMinorVersionsShapeFamilyEnum +const ( + ListGiVersionMinorVersionsShapeFamilySinglenode ListGiVersionMinorVersionsShapeFamilyEnum = "SINGLENODE" + ListGiVersionMinorVersionsShapeFamilyYoda ListGiVersionMinorVersionsShapeFamilyEnum = "YODA" + ListGiVersionMinorVersionsShapeFamilyVirtualmachine ListGiVersionMinorVersionsShapeFamilyEnum = "VIRTUALMACHINE" + ListGiVersionMinorVersionsShapeFamilyExadata ListGiVersionMinorVersionsShapeFamilyEnum = "EXADATA" + ListGiVersionMinorVersionsShapeFamilyExacc ListGiVersionMinorVersionsShapeFamilyEnum = "EXACC" + ListGiVersionMinorVersionsShapeFamilyExadbXs ListGiVersionMinorVersionsShapeFamilyEnum = "EXADB_XS" +) + +var mappingListGiVersionMinorVersionsShapeFamilyEnum = map[string]ListGiVersionMinorVersionsShapeFamilyEnum{ + "SINGLENODE": ListGiVersionMinorVersionsShapeFamilySinglenode, + "YODA": ListGiVersionMinorVersionsShapeFamilyYoda, + "VIRTUALMACHINE": ListGiVersionMinorVersionsShapeFamilyVirtualmachine, + "EXADATA": ListGiVersionMinorVersionsShapeFamilyExadata, + "EXACC": ListGiVersionMinorVersionsShapeFamilyExacc, + "EXADB_XS": ListGiVersionMinorVersionsShapeFamilyExadbXs, +} + +var mappingListGiVersionMinorVersionsShapeFamilyEnumLowerCase = map[string]ListGiVersionMinorVersionsShapeFamilyEnum{ + "singlenode": ListGiVersionMinorVersionsShapeFamilySinglenode, + "yoda": ListGiVersionMinorVersionsShapeFamilyYoda, + "virtualmachine": ListGiVersionMinorVersionsShapeFamilyVirtualmachine, + "exadata": ListGiVersionMinorVersionsShapeFamilyExadata, + "exacc": ListGiVersionMinorVersionsShapeFamilyExacc, + "exadb_xs": ListGiVersionMinorVersionsShapeFamilyExadbXs, +} + +// GetListGiVersionMinorVersionsShapeFamilyEnumValues Enumerates the set of values for ListGiVersionMinorVersionsShapeFamilyEnum +func GetListGiVersionMinorVersionsShapeFamilyEnumValues() []ListGiVersionMinorVersionsShapeFamilyEnum { + values := make([]ListGiVersionMinorVersionsShapeFamilyEnum, 0) + for _, v := range mappingListGiVersionMinorVersionsShapeFamilyEnum { + values = append(values, v) + } + return values +} + +// GetListGiVersionMinorVersionsShapeFamilyEnumStringValues Enumerates the set of values in String for ListGiVersionMinorVersionsShapeFamilyEnum +func GetListGiVersionMinorVersionsShapeFamilyEnumStringValues() []string { + return []string{ + "SINGLENODE", + "YODA", + "VIRTUALMACHINE", + "EXADATA", + "EXACC", + "EXADB_XS", + } +} + +// GetMappingListGiVersionMinorVersionsShapeFamilyEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListGiVersionMinorVersionsShapeFamilyEnum(val string) (ListGiVersionMinorVersionsShapeFamilyEnum, bool) { + enum, ok := mappingListGiVersionMinorVersionsShapeFamilyEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListGiVersionMinorVersionsSortByEnum Enum with underlying type: string +type ListGiVersionMinorVersionsSortByEnum string + +// Set of constants representing the allowable values for ListGiVersionMinorVersionsSortByEnum +const ( + ListGiVersionMinorVersionsSortByVersion ListGiVersionMinorVersionsSortByEnum = "VERSION" +) + +var mappingListGiVersionMinorVersionsSortByEnum = map[string]ListGiVersionMinorVersionsSortByEnum{ + "VERSION": ListGiVersionMinorVersionsSortByVersion, +} + +var mappingListGiVersionMinorVersionsSortByEnumLowerCase = map[string]ListGiVersionMinorVersionsSortByEnum{ + "version": ListGiVersionMinorVersionsSortByVersion, +} + +// GetListGiVersionMinorVersionsSortByEnumValues Enumerates the set of values for ListGiVersionMinorVersionsSortByEnum +func GetListGiVersionMinorVersionsSortByEnumValues() []ListGiVersionMinorVersionsSortByEnum { + values := make([]ListGiVersionMinorVersionsSortByEnum, 0) + for _, v := range mappingListGiVersionMinorVersionsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListGiVersionMinorVersionsSortByEnumStringValues Enumerates the set of values in String for ListGiVersionMinorVersionsSortByEnum +func GetListGiVersionMinorVersionsSortByEnumStringValues() []string { + return []string{ + "VERSION", + } +} + +// GetMappingListGiVersionMinorVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListGiVersionMinorVersionsSortByEnum(val string) (ListGiVersionMinorVersionsSortByEnum, bool) { + enum, ok := mappingListGiVersionMinorVersionsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListGiVersionMinorVersionsSortOrderEnum Enum with underlying type: string +type ListGiVersionMinorVersionsSortOrderEnum string + +// Set of constants representing the allowable values for ListGiVersionMinorVersionsSortOrderEnum +const ( + ListGiVersionMinorVersionsSortOrderAsc ListGiVersionMinorVersionsSortOrderEnum = "ASC" + ListGiVersionMinorVersionsSortOrderDesc ListGiVersionMinorVersionsSortOrderEnum = "DESC" +) + +var mappingListGiVersionMinorVersionsSortOrderEnum = map[string]ListGiVersionMinorVersionsSortOrderEnum{ + "ASC": ListGiVersionMinorVersionsSortOrderAsc, + "DESC": ListGiVersionMinorVersionsSortOrderDesc, +} + +var mappingListGiVersionMinorVersionsSortOrderEnumLowerCase = map[string]ListGiVersionMinorVersionsSortOrderEnum{ + "asc": ListGiVersionMinorVersionsSortOrderAsc, + "desc": ListGiVersionMinorVersionsSortOrderDesc, +} + +// GetListGiVersionMinorVersionsSortOrderEnumValues Enumerates the set of values for ListGiVersionMinorVersionsSortOrderEnum +func GetListGiVersionMinorVersionsSortOrderEnumValues() []ListGiVersionMinorVersionsSortOrderEnum { + values := make([]ListGiVersionMinorVersionsSortOrderEnum, 0) + for _, v := range mappingListGiVersionMinorVersionsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListGiVersionMinorVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListGiVersionMinorVersionsSortOrderEnum +func GetListGiVersionMinorVersionsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListGiVersionMinorVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListGiVersionMinorVersionsSortOrderEnum(val string) (ListGiVersionMinorVersionsSortOrderEnum, bool) { + enum, ok := mappingListGiVersionMinorVersionsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/list_gi_versions_request_response.go b/database/list_gi_versions_request_response.go index c11945284b..13147f32f0 100644 --- a/database/list_gi_versions_request_response.go +++ b/database/list_gi_versions_request_response.go @@ -33,6 +33,9 @@ type ListGiVersionsRequest struct { // If provided, filters the results for the given shape. Shape *string `mandatory:"false" contributesTo:"query" name:"shape"` + // The target availability domain. Only passed if the limit is AD-specific. + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + // 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"` diff --git a/database/maintenance_window.go b/database/maintenance_window.go index a44643e3ec..cbcc6384e7 100644 --- a/database/maintenance_window.go +++ b/database/maintenance_window.go @@ -46,8 +46,7 @@ type MaintenanceWindow struct { // Days during the week when maintenance should be performed. DaysOfWeek []DayOfWeek `mandatory:"false" json:"daysOfWeek"` - // The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are - // - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC + // The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC HoursOfDay []int `mandatory:"false" json:"hoursOfDay"` // Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. diff --git a/database/remove_virtual_machine_from_exadb_vm_cluster_details.go b/database/remove_virtual_machine_from_exadb_vm_cluster_details.go new file mode 100644 index 0000000000..4a4b91adf8 --- /dev/null +++ b/database/remove_virtual_machine_from_exadb_vm_cluster_details.go @@ -0,0 +1,39 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RemoveVirtualMachineFromExadbVmClusterDetails Details of removing Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. +type RemoveVirtualMachineFromExadbVmClusterDetails struct { + + // The list of ExaCS DB nodes for the Exadata VM cluster on Exascale Infrastructure to be removed. + DbNodes []DbNodeDetails `mandatory:"true" json:"dbNodes"` +} + +func (m RemoveVirtualMachineFromExadbVmClusterDetails) 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 RemoveVirtualMachineFromExadbVmClusterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/remove_virtual_machine_from_exadb_vm_cluster_request_response.go b/database/remove_virtual_machine_from_exadb_vm_cluster_request_response.go new file mode 100644 index 0000000000..0973f89772 --- /dev/null +++ b/database/remove_virtual_machine_from_exadb_vm_cluster_request_response.go @@ -0,0 +1,111 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// RemoveVirtualMachineFromExadbVmClusterRequest wrapper for the RemoveVirtualMachineFromExadbVmCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/RemoveVirtualMachineFromExadbVmCluster.go.html to see an example of how to use RemoveVirtualMachineFromExadbVmClusterRequest. +type RemoveVirtualMachineFromExadbVmClusterRequest struct { + + // Request to remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. + RemoveVirtualMachineFromExadbVmClusterDetails `contributesTo:"body"` + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // 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 +} + +func (request RemoveVirtualMachineFromExadbVmClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RemoveVirtualMachineFromExadbVmClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request RemoveVirtualMachineFromExadbVmClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RemoveVirtualMachineFromExadbVmClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request RemoveVirtualMachineFromExadbVmClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RemoveVirtualMachineFromExadbVmClusterResponse wrapper for the RemoveVirtualMachineFromExadbVmCluster operation +type RemoveVirtualMachineFromExadbVmClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmCluster instance + ExadbVmCluster `presentIn:"body"` + + // 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"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response RemoveVirtualMachineFromExadbVmClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RemoveVirtualMachineFromExadbVmClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/update_exadb_vm_cluster_details.go b/database/update_exadb_vm_cluster_details.go new file mode 100644 index 0000000000..3f7a30859c --- /dev/null +++ b/database/update_exadb_vm_cluster_details.go @@ -0,0 +1,182 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateExadbVmClusterDetails Details for updating the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only. +type UpdateExadbVmClusterDetails struct { + + // The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. + DisplayName *string `mandatory:"false" json:"displayName"` + + // The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. + TotalECpuCount *int `mandatory:"false" json:"totalECpuCount"` + + // The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. + EnabledECpuCount *int `mandatory:"false" json:"enabledECpuCount"` + + VmFileSystemStorage *ExadbVmClusterStorageDetails `mandatory:"false" json:"vmFileSystemStorage"` + + // The number of nodes to be added in the Exadata VM cluster on Exascale Infrastructure. + NodeCount *int `mandatory:"false" json:"nodeCount"` + + // The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. + LicenseModel UpdateExadbVmClusterDetailsLicenseModelEnum `mandatory:"false" json:"licenseModel,omitempty"` + + // The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. + SshPublicKeys []string `mandatory:"false" json:"sshPublicKeys"` + + // The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // **NsgIds restrictions:** + // - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // A list of the OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. + BackupNetworkNsgIds []string `mandatory:"false" json:"backupNetworkNsgIds"` + + // 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"` + + DataCollectionOptions *DataCollectionOptions `mandatory:"false" json:"dataCollectionOptions"` + + // Operating system version of the image. + SystemVersion *string `mandatory:"false" json:"systemVersion"` + + // Grid Setup will be done using this grid image id + GridImageId *string `mandatory:"false" json:"gridImageId"` + + // The update action. + UpdateAction UpdateExadbVmClusterDetailsUpdateActionEnum `mandatory:"false" json:"updateAction,omitempty"` +} + +func (m UpdateExadbVmClusterDetails) 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 UpdateExadbVmClusterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdateExadbVmClusterDetailsLicenseModelEnum(string(m.LicenseModel)); !ok && m.LicenseModel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseModel: %s. Supported values are: %s.", m.LicenseModel, strings.Join(GetUpdateExadbVmClusterDetailsLicenseModelEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateExadbVmClusterDetailsUpdateActionEnum(string(m.UpdateAction)); !ok && m.UpdateAction != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateAction: %s. Supported values are: %s.", m.UpdateAction, strings.Join(GetUpdateExadbVmClusterDetailsUpdateActionEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateExadbVmClusterDetailsLicenseModelEnum Enum with underlying type: string +type UpdateExadbVmClusterDetailsLicenseModelEnum string + +// Set of constants representing the allowable values for UpdateExadbVmClusterDetailsLicenseModelEnum +const ( + UpdateExadbVmClusterDetailsLicenseModelLicenseIncluded UpdateExadbVmClusterDetailsLicenseModelEnum = "LICENSE_INCLUDED" + UpdateExadbVmClusterDetailsLicenseModelBringYourOwnLicense UpdateExadbVmClusterDetailsLicenseModelEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingUpdateExadbVmClusterDetailsLicenseModelEnum = map[string]UpdateExadbVmClusterDetailsLicenseModelEnum{ + "LICENSE_INCLUDED": UpdateExadbVmClusterDetailsLicenseModelLicenseIncluded, + "BRING_YOUR_OWN_LICENSE": UpdateExadbVmClusterDetailsLicenseModelBringYourOwnLicense, +} + +var mappingUpdateExadbVmClusterDetailsLicenseModelEnumLowerCase = map[string]UpdateExadbVmClusterDetailsLicenseModelEnum{ + "license_included": UpdateExadbVmClusterDetailsLicenseModelLicenseIncluded, + "bring_your_own_license": UpdateExadbVmClusterDetailsLicenseModelBringYourOwnLicense, +} + +// GetUpdateExadbVmClusterDetailsLicenseModelEnumValues Enumerates the set of values for UpdateExadbVmClusterDetailsLicenseModelEnum +func GetUpdateExadbVmClusterDetailsLicenseModelEnumValues() []UpdateExadbVmClusterDetailsLicenseModelEnum { + values := make([]UpdateExadbVmClusterDetailsLicenseModelEnum, 0) + for _, v := range mappingUpdateExadbVmClusterDetailsLicenseModelEnum { + values = append(values, v) + } + return values +} + +// GetUpdateExadbVmClusterDetailsLicenseModelEnumStringValues Enumerates the set of values in String for UpdateExadbVmClusterDetailsLicenseModelEnum +func GetUpdateExadbVmClusterDetailsLicenseModelEnumStringValues() []string { + return []string{ + "LICENSE_INCLUDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingUpdateExadbVmClusterDetailsLicenseModelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateExadbVmClusterDetailsLicenseModelEnum(val string) (UpdateExadbVmClusterDetailsLicenseModelEnum, bool) { + enum, ok := mappingUpdateExadbVmClusterDetailsLicenseModelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateExadbVmClusterDetailsUpdateActionEnum Enum with underlying type: string +type UpdateExadbVmClusterDetailsUpdateActionEnum string + +// Set of constants representing the allowable values for UpdateExadbVmClusterDetailsUpdateActionEnum +const ( + UpdateExadbVmClusterDetailsUpdateActionRollingApply UpdateExadbVmClusterDetailsUpdateActionEnum = "ROLLING_APPLY" + UpdateExadbVmClusterDetailsUpdateActionNonRollingApply UpdateExadbVmClusterDetailsUpdateActionEnum = "NON_ROLLING_APPLY" + UpdateExadbVmClusterDetailsUpdateActionPrecheck UpdateExadbVmClusterDetailsUpdateActionEnum = "PRECHECK" + UpdateExadbVmClusterDetailsUpdateActionRollback UpdateExadbVmClusterDetailsUpdateActionEnum = "ROLLBACK" +) + +var mappingUpdateExadbVmClusterDetailsUpdateActionEnum = map[string]UpdateExadbVmClusterDetailsUpdateActionEnum{ + "ROLLING_APPLY": UpdateExadbVmClusterDetailsUpdateActionRollingApply, + "NON_ROLLING_APPLY": UpdateExadbVmClusterDetailsUpdateActionNonRollingApply, + "PRECHECK": UpdateExadbVmClusterDetailsUpdateActionPrecheck, + "ROLLBACK": UpdateExadbVmClusterDetailsUpdateActionRollback, +} + +var mappingUpdateExadbVmClusterDetailsUpdateActionEnumLowerCase = map[string]UpdateExadbVmClusterDetailsUpdateActionEnum{ + "rolling_apply": UpdateExadbVmClusterDetailsUpdateActionRollingApply, + "non_rolling_apply": UpdateExadbVmClusterDetailsUpdateActionNonRollingApply, + "precheck": UpdateExadbVmClusterDetailsUpdateActionPrecheck, + "rollback": UpdateExadbVmClusterDetailsUpdateActionRollback, +} + +// GetUpdateExadbVmClusterDetailsUpdateActionEnumValues Enumerates the set of values for UpdateExadbVmClusterDetailsUpdateActionEnum +func GetUpdateExadbVmClusterDetailsUpdateActionEnumValues() []UpdateExadbVmClusterDetailsUpdateActionEnum { + values := make([]UpdateExadbVmClusterDetailsUpdateActionEnum, 0) + for _, v := range mappingUpdateExadbVmClusterDetailsUpdateActionEnum { + values = append(values, v) + } + return values +} + +// GetUpdateExadbVmClusterDetailsUpdateActionEnumStringValues Enumerates the set of values in String for UpdateExadbVmClusterDetailsUpdateActionEnum +func GetUpdateExadbVmClusterDetailsUpdateActionEnumStringValues() []string { + return []string{ + "ROLLING_APPLY", + "NON_ROLLING_APPLY", + "PRECHECK", + "ROLLBACK", + } +} + +// GetMappingUpdateExadbVmClusterDetailsUpdateActionEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateExadbVmClusterDetailsUpdateActionEnum(val string) (UpdateExadbVmClusterDetailsUpdateActionEnum, bool) { + enum, ok := mappingUpdateExadbVmClusterDetailsUpdateActionEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/database/update_exadb_vm_cluster_request_response.go b/database/update_exadb_vm_cluster_request_response.go new file mode 100644 index 0000000000..a77043f498 --- /dev/null +++ b/database/update_exadb_vm_cluster_request_response.go @@ -0,0 +1,104 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateExadbVmClusterRequest wrapper for the UpdateExadbVmCluster operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateExadbVmCluster.go.html to see an example of how to use UpdateExadbVmClusterRequest. +type UpdateExadbVmClusterRequest struct { + + // The Exadata VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + ExadbVmClusterId *string `mandatory:"true" contributesTo:"path" name:"exadbVmClusterId"` + + // Request to update the attributes of a Exadata VM cluster on Exascale Infrastructure. + UpdateExadbVmClusterDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request UpdateExadbVmClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateExadbVmClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateExadbVmClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateExadbVmClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request UpdateExadbVmClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateExadbVmClusterResponse wrapper for the UpdateExadbVmCluster operation +type UpdateExadbVmClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExadbVmCluster instance + ExadbVmCluster `presentIn:"body"` + + // 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"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response UpdateExadbVmClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateExadbVmClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/database/update_exascale_db_storage_vault_details.go b/database/update_exascale_db_storage_vault_details.go new file mode 100644 index 0000000000..cb5bfb2014 --- /dev/null +++ b/database/update_exascale_db_storage_vault_details.go @@ -0,0 +1,56 @@ +// 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. + +// Database Service API +// +// 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.cloud.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). +// + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateExascaleDbStorageVaultDetails Details for updating the Exadata Database Storage Vault. +type UpdateExascaleDbStorageVaultDetails struct { + + // The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Exadata Database Storage Vault description. + Description *string `mandatory:"false" json:"description"` + + HighCapacityDatabaseStorage *ExascaleDbStorageInputDetails `mandatory:"false" json:"highCapacityDatabaseStorage"` + + // The size of additional Flash Cache in percentage of High Capacity database storage. + AdditionalFlashCacheInPercent *int `mandatory:"false" json:"additionalFlashCacheInPercent"` + + // 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 UpdateExascaleDbStorageVaultDetails) 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 UpdateExascaleDbStorageVaultDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/database/update_exascale_db_storage_vault_request_response.go b/database/update_exascale_db_storage_vault_request_response.go new file mode 100644 index 0000000000..24639aebd7 --- /dev/null +++ b/database/update_exascale_db_storage_vault_request_response.go @@ -0,0 +1,104 @@ +// 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. + +package database + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateExascaleDbStorageVaultRequest wrapper for the UpdateExascaleDbStorageVault operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/UpdateExascaleDbStorageVault.go.html to see an example of how to use UpdateExascaleDbStorageVaultRequest. +type UpdateExascaleDbStorageVaultRequest struct { + + // The Exadata Database Storage Vault OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + ExascaleDbStorageVaultId *string `mandatory:"true" contributesTo:"path" name:"exascaleDbStorageVaultId"` + + // Request to update the attributes of a Exadata Database Storage Vault. + UpdateExascaleDbStorageVaultDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // 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 +} + +func (request UpdateExascaleDbStorageVaultRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateExascaleDbStorageVaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateExascaleDbStorageVaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateExascaleDbStorageVaultRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request UpdateExascaleDbStorageVaultRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateExascaleDbStorageVaultResponse wrapper for the UpdateExascaleDbStorageVault operation +type UpdateExascaleDbStorageVaultResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ExascaleDbStorageVault instance + ExascaleDbStorageVault `presentIn:"body"` + + // 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"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // 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"` +} + +func (response UpdateExascaleDbStorageVaultResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateExascaleDbStorageVaultResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/databasemanagement/deployment_type.go b/databasemanagement/deployment_type.go index 13cb62c1b0..9bc5bda1f0 100644 --- a/databasemanagement/deployment_type.go +++ b/databasemanagement/deployment_type.go @@ -26,6 +26,7 @@ const ( DeploymentTypeExadata DeploymentTypeEnum = "EXADATA" DeploymentTypeExadataCc DeploymentTypeEnum = "EXADATA_CC" DeploymentTypeAutonomous DeploymentTypeEnum = "AUTONOMOUS" + DeploymentTypeExadataXs DeploymentTypeEnum = "EXADATA_XS" ) var mappingDeploymentTypeEnum = map[string]DeploymentTypeEnum{ @@ -35,6 +36,7 @@ var mappingDeploymentTypeEnum = map[string]DeploymentTypeEnum{ "EXADATA": DeploymentTypeExadata, "EXADATA_CC": DeploymentTypeExadataCc, "AUTONOMOUS": DeploymentTypeAutonomous, + "EXADATA_XS": DeploymentTypeExadataXs, } var mappingDeploymentTypeEnumLowerCase = map[string]DeploymentTypeEnum{ @@ -44,6 +46,7 @@ var mappingDeploymentTypeEnumLowerCase = map[string]DeploymentTypeEnum{ "exadata": DeploymentTypeExadata, "exadata_cc": DeploymentTypeExadataCc, "autonomous": DeploymentTypeAutonomous, + "exadata_xs": DeploymentTypeExadataXs, } // GetDeploymentTypeEnumValues Enumerates the set of values for DeploymentTypeEnum @@ -64,6 +67,7 @@ func GetDeploymentTypeEnumStringValues() []string { "EXADATA", "EXADATA_CC", "AUTONOMOUS", + "EXADATA_XS", } } diff --git a/databasemanagement/list_managed_databases_request_response.go b/databasemanagement/list_managed_databases_request_response.go index 7fc3dcc165..0b059e0d9f 100644 --- a/databasemanagement/list_managed_databases_request_response.go +++ b/databasemanagement/list_managed_databases_request_response.go @@ -189,6 +189,7 @@ const ( ListManagedDatabasesDeploymentTypeExadata ListManagedDatabasesDeploymentTypeEnum = "EXADATA" ListManagedDatabasesDeploymentTypeExadataCc ListManagedDatabasesDeploymentTypeEnum = "EXADATA_CC" ListManagedDatabasesDeploymentTypeAutonomous ListManagedDatabasesDeploymentTypeEnum = "AUTONOMOUS" + ListManagedDatabasesDeploymentTypeExadataXs ListManagedDatabasesDeploymentTypeEnum = "EXADATA_XS" ) var mappingListManagedDatabasesDeploymentTypeEnum = map[string]ListManagedDatabasesDeploymentTypeEnum{ @@ -198,6 +199,7 @@ var mappingListManagedDatabasesDeploymentTypeEnum = map[string]ListManagedDataba "EXADATA": ListManagedDatabasesDeploymentTypeExadata, "EXADATA_CC": ListManagedDatabasesDeploymentTypeExadataCc, "AUTONOMOUS": ListManagedDatabasesDeploymentTypeAutonomous, + "EXADATA_XS": ListManagedDatabasesDeploymentTypeExadataXs, } var mappingListManagedDatabasesDeploymentTypeEnumLowerCase = map[string]ListManagedDatabasesDeploymentTypeEnum{ @@ -207,6 +209,7 @@ var mappingListManagedDatabasesDeploymentTypeEnumLowerCase = map[string]ListMana "exadata": ListManagedDatabasesDeploymentTypeExadata, "exadata_cc": ListManagedDatabasesDeploymentTypeExadataCc, "autonomous": ListManagedDatabasesDeploymentTypeAutonomous, + "exadata_xs": ListManagedDatabasesDeploymentTypeExadataXs, } // GetListManagedDatabasesDeploymentTypeEnumValues Enumerates the set of values for ListManagedDatabasesDeploymentTypeEnum @@ -227,6 +230,7 @@ func GetListManagedDatabasesDeploymentTypeEnumStringValues() []string { "EXADATA", "EXADATA_CC", "AUTONOMOUS", + "EXADATA_XS", } } diff --git a/databasemigration/advanced_parameter_data_types.go b/databasemigration/advanced_parameter_data_types.go new file mode 100644 index 0000000000..a85d95033c --- /dev/null +++ b/databasemigration/advanced_parameter_data_types.go @@ -0,0 +1,64 @@ +// 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. + +// Database Migration API +// +// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. +// + +package databasemigration + +import ( + "strings" +) + +// AdvancedParameterDataTypesEnum Enum with underlying type: string +type AdvancedParameterDataTypesEnum string + +// Set of constants representing the allowable values for AdvancedParameterDataTypesEnum +const ( + AdvancedParameterDataTypesString AdvancedParameterDataTypesEnum = "STRING" + AdvancedParameterDataTypesInteger AdvancedParameterDataTypesEnum = "INTEGER" + AdvancedParameterDataTypesFloat AdvancedParameterDataTypesEnum = "FLOAT" + AdvancedParameterDataTypesBoolean AdvancedParameterDataTypesEnum = "BOOLEAN" +) + +var mappingAdvancedParameterDataTypesEnum = map[string]AdvancedParameterDataTypesEnum{ + "STRING": AdvancedParameterDataTypesString, + "INTEGER": AdvancedParameterDataTypesInteger, + "FLOAT": AdvancedParameterDataTypesFloat, + "BOOLEAN": AdvancedParameterDataTypesBoolean, +} + +var mappingAdvancedParameterDataTypesEnumLowerCase = map[string]AdvancedParameterDataTypesEnum{ + "string": AdvancedParameterDataTypesString, + "integer": AdvancedParameterDataTypesInteger, + "float": AdvancedParameterDataTypesFloat, + "boolean": AdvancedParameterDataTypesBoolean, +} + +// GetAdvancedParameterDataTypesEnumValues Enumerates the set of values for AdvancedParameterDataTypesEnum +func GetAdvancedParameterDataTypesEnumValues() []AdvancedParameterDataTypesEnum { + values := make([]AdvancedParameterDataTypesEnum, 0) + for _, v := range mappingAdvancedParameterDataTypesEnum { + values = append(values, v) + } + return values +} + +// GetAdvancedParameterDataTypesEnumStringValues Enumerates the set of values in String for AdvancedParameterDataTypesEnum +func GetAdvancedParameterDataTypesEnumStringValues() []string { + return []string{ + "STRING", + "INTEGER", + "FLOAT", + "BOOLEAN", + } +} + +// GetMappingAdvancedParameterDataTypesEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAdvancedParameterDataTypesEnum(val string) (AdvancedParameterDataTypesEnum, bool) { + enum, ok := mappingAdvancedParameterDataTypesEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/databasemigration/create_oracle_migration_details.go b/databasemigration/create_oracle_migration_details.go index f93f1dacac..8ea32e0b06 100644 --- a/databasemigration/create_oracle_migration_details.go +++ b/databasemigration/create_oracle_migration_details.go @@ -54,6 +54,9 @@ type CreateOracleMigrationDetails struct { GgsDetails *CreateOracleGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"` + // List of Migration Parameter objects. + AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"` + // The OCID of the resource being referenced. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` @@ -158,6 +161,7 @@ func (m *CreateOracleMigrationDetails) UnmarshalJSON(data []byte) (e error) { AdvisorSettings *CreateOracleAdvisorSettings `json:"advisorSettings"` HubDetails *CreateGoldenGateHubDetails `json:"hubDetails"` GgsDetails *CreateOracleGgsDeploymentDetails `json:"ggsDetails"` + AdvancedParameters []MigrationParameterDetails `json:"advancedParameters"` SourceContainerDatabaseConnectionId *string `json:"sourceContainerDatabaseConnectionId"` ExcludeObjects []OracleDatabaseObject `json:"excludeObjects"` IncludeObjects []OracleDatabaseObject `json:"includeObjects"` @@ -199,6 +203,8 @@ func (m *CreateOracleMigrationDetails) UnmarshalJSON(data []byte) (e error) { m.GgsDetails = model.GgsDetails + m.AdvancedParameters = make([]MigrationParameterDetails, len(model.AdvancedParameters)) + copy(m.AdvancedParameters, model.AdvancedParameters) m.SourceContainerDatabaseConnectionId = model.SourceContainerDatabaseConnectionId m.ExcludeObjects = make([]OracleDatabaseObject, len(model.ExcludeObjects)) diff --git a/databasemigration/databasemigration_client.go b/databasemigration/databasemigration_client.go index f735dc6458..bf0598c149 100644 --- a/databasemigration/databasemigration_client.go +++ b/databasemigration/databasemigration_client.go @@ -1526,6 +1526,64 @@ func (client DatabaseMigrationClient) listMigrationObjects(ctx context.Context, return response, err } +// ListMigrationParameters List of parameters that can be used to customize migrations. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationParameters.go.html to see an example of how to use ListMigrationParameters API. +// A default retry strategy applies to this operation ListMigrationParameters() +func (client DatabaseMigrationClient) ListMigrationParameters(ctx context.Context, request ListMigrationParametersRequest) (response ListMigrationParametersResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listMigrationParameters, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListMigrationParametersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListMigrationParametersResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListMigrationParametersResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListMigrationParametersResponse") + } + return +} + +// listMigrationParameters implements the OCIOperation interface (enables retrying operations) +func (client DatabaseMigrationClient) listMigrationParameters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/migrationParameters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListMigrationParametersResponse + 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-migration/20230518/MigrationParameterSummary/ListMigrationParameters" + err = common.PostProcessServiceError(err, "DatabaseMigration", "ListMigrationParameters", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListMigrations List all Migrations. // // # See also diff --git a/databasemigration/list_migration_parameters_request_response.go b/databasemigration/list_migration_parameters_request_response.go new file mode 100644 index 0000000000..b5a251d45b --- /dev/null +++ b/databasemigration/list_migration_parameters_request_response.go @@ -0,0 +1,292 @@ +// 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. + +package databasemigration + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListMigrationParametersRequest wrapper for the ListMigrationParameters operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/databasemigration/ListMigrationParameters.go.html to see an example of how to use ListMigrationParametersRequest. +type ListMigrationParametersRequest 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"` + + // A filter to return only resources that match a certain Migration Type. + MigrationType ListMigrationParametersMigrationTypeEnum `mandatory:"false" contributesTo:"query" name:"migrationType" omitEmpty:"true"` + + // A filter to return only resources that match a certain Database Combination. + DatabaseCombination ListMigrationParametersDatabaseCombinationEnum `mandatory:"false" contributesTo:"query" name:"databaseCombination" omitEmpty:"true"` + + // The maximum number of items to return. + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. + // Default order for displayName is ascending. If no value is specified timeCreated is default. + SortBy ListMigrationParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either 'asc' or 'desc'. + SortOrder ListMigrationParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // 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 +} + +func (request ListMigrationParametersRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListMigrationParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListMigrationParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListMigrationParametersRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request ListMigrationParametersRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListMigrationParametersMigrationTypeEnum(string(request.MigrationType)); !ok && request.MigrationType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MigrationType: %s. Supported values are: %s.", request.MigrationType, strings.Join(GetListMigrationParametersMigrationTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingListMigrationParametersDatabaseCombinationEnum(string(request.DatabaseCombination)); !ok && request.DatabaseCombination != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseCombination: %s. Supported values are: %s.", request.DatabaseCombination, strings.Join(GetListMigrationParametersDatabaseCombinationEnumStringValues(), ","))) + } + if _, ok := GetMappingListMigrationParametersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListMigrationParametersSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListMigrationParametersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListMigrationParametersSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListMigrationParametersResponse wrapper for the ListMigrationParameters operation +type ListMigrationParametersResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of MigrationParameterSummaryCollection instances + MigrationParameterSummaryCollection `presentIn:"body"` + + // 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"` + + // For pagination of a list of items. When paging through a list, if this header appears in the response, + // then a partial list might have been returned. Include this value as the `page` parameter for the + // subsequent GET request to get the next batch of items. + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListMigrationParametersResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListMigrationParametersResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListMigrationParametersMigrationTypeEnum Enum with underlying type: string +type ListMigrationParametersMigrationTypeEnum string + +// Set of constants representing the allowable values for ListMigrationParametersMigrationTypeEnum +const ( + ListMigrationParametersMigrationTypeOnline ListMigrationParametersMigrationTypeEnum = "ONLINE" + ListMigrationParametersMigrationTypeOffline ListMigrationParametersMigrationTypeEnum = "OFFLINE" +) + +var mappingListMigrationParametersMigrationTypeEnum = map[string]ListMigrationParametersMigrationTypeEnum{ + "ONLINE": ListMigrationParametersMigrationTypeOnline, + "OFFLINE": ListMigrationParametersMigrationTypeOffline, +} + +var mappingListMigrationParametersMigrationTypeEnumLowerCase = map[string]ListMigrationParametersMigrationTypeEnum{ + "online": ListMigrationParametersMigrationTypeOnline, + "offline": ListMigrationParametersMigrationTypeOffline, +} + +// GetListMigrationParametersMigrationTypeEnumValues Enumerates the set of values for ListMigrationParametersMigrationTypeEnum +func GetListMigrationParametersMigrationTypeEnumValues() []ListMigrationParametersMigrationTypeEnum { + values := make([]ListMigrationParametersMigrationTypeEnum, 0) + for _, v := range mappingListMigrationParametersMigrationTypeEnum { + values = append(values, v) + } + return values +} + +// GetListMigrationParametersMigrationTypeEnumStringValues Enumerates the set of values in String for ListMigrationParametersMigrationTypeEnum +func GetListMigrationParametersMigrationTypeEnumStringValues() []string { + return []string{ + "ONLINE", + "OFFLINE", + } +} + +// GetMappingListMigrationParametersMigrationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListMigrationParametersMigrationTypeEnum(val string) (ListMigrationParametersMigrationTypeEnum, bool) { + enum, ok := mappingListMigrationParametersMigrationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListMigrationParametersDatabaseCombinationEnum Enum with underlying type: string +type ListMigrationParametersDatabaseCombinationEnum string + +// Set of constants representing the allowable values for ListMigrationParametersDatabaseCombinationEnum +const ( + ListMigrationParametersDatabaseCombinationMysql ListMigrationParametersDatabaseCombinationEnum = "MYSQL" + ListMigrationParametersDatabaseCombinationOracle ListMigrationParametersDatabaseCombinationEnum = "ORACLE" +) + +var mappingListMigrationParametersDatabaseCombinationEnum = map[string]ListMigrationParametersDatabaseCombinationEnum{ + "MYSQL": ListMigrationParametersDatabaseCombinationMysql, + "ORACLE": ListMigrationParametersDatabaseCombinationOracle, +} + +var mappingListMigrationParametersDatabaseCombinationEnumLowerCase = map[string]ListMigrationParametersDatabaseCombinationEnum{ + "mysql": ListMigrationParametersDatabaseCombinationMysql, + "oracle": ListMigrationParametersDatabaseCombinationOracle, +} + +// GetListMigrationParametersDatabaseCombinationEnumValues Enumerates the set of values for ListMigrationParametersDatabaseCombinationEnum +func GetListMigrationParametersDatabaseCombinationEnumValues() []ListMigrationParametersDatabaseCombinationEnum { + values := make([]ListMigrationParametersDatabaseCombinationEnum, 0) + for _, v := range mappingListMigrationParametersDatabaseCombinationEnum { + values = append(values, v) + } + return values +} + +// GetListMigrationParametersDatabaseCombinationEnumStringValues Enumerates the set of values in String for ListMigrationParametersDatabaseCombinationEnum +func GetListMigrationParametersDatabaseCombinationEnumStringValues() []string { + return []string{ + "MYSQL", + "ORACLE", + } +} + +// GetMappingListMigrationParametersDatabaseCombinationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListMigrationParametersDatabaseCombinationEnum(val string) (ListMigrationParametersDatabaseCombinationEnum, bool) { + enum, ok := mappingListMigrationParametersDatabaseCombinationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListMigrationParametersSortByEnum Enum with underlying type: string +type ListMigrationParametersSortByEnum string + +// Set of constants representing the allowable values for ListMigrationParametersSortByEnum +const ( + ListMigrationParametersSortByTimecreated ListMigrationParametersSortByEnum = "timeCreated" + ListMigrationParametersSortByDisplayname ListMigrationParametersSortByEnum = "displayName" +) + +var mappingListMigrationParametersSortByEnum = map[string]ListMigrationParametersSortByEnum{ + "timeCreated": ListMigrationParametersSortByTimecreated, + "displayName": ListMigrationParametersSortByDisplayname, +} + +var mappingListMigrationParametersSortByEnumLowerCase = map[string]ListMigrationParametersSortByEnum{ + "timecreated": ListMigrationParametersSortByTimecreated, + "displayname": ListMigrationParametersSortByDisplayname, +} + +// GetListMigrationParametersSortByEnumValues Enumerates the set of values for ListMigrationParametersSortByEnum +func GetListMigrationParametersSortByEnumValues() []ListMigrationParametersSortByEnum { + values := make([]ListMigrationParametersSortByEnum, 0) + for _, v := range mappingListMigrationParametersSortByEnum { + values = append(values, v) + } + return values +} + +// GetListMigrationParametersSortByEnumStringValues Enumerates the set of values in String for ListMigrationParametersSortByEnum +func GetListMigrationParametersSortByEnumStringValues() []string { + return []string{ + "timeCreated", + "displayName", + } +} + +// GetMappingListMigrationParametersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListMigrationParametersSortByEnum(val string) (ListMigrationParametersSortByEnum, bool) { + enum, ok := mappingListMigrationParametersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListMigrationParametersSortOrderEnum Enum with underlying type: string +type ListMigrationParametersSortOrderEnum string + +// Set of constants representing the allowable values for ListMigrationParametersSortOrderEnum +const ( + ListMigrationParametersSortOrderAsc ListMigrationParametersSortOrderEnum = "ASC" + ListMigrationParametersSortOrderDesc ListMigrationParametersSortOrderEnum = "DESC" +) + +var mappingListMigrationParametersSortOrderEnum = map[string]ListMigrationParametersSortOrderEnum{ + "ASC": ListMigrationParametersSortOrderAsc, + "DESC": ListMigrationParametersSortOrderDesc, +} + +var mappingListMigrationParametersSortOrderEnumLowerCase = map[string]ListMigrationParametersSortOrderEnum{ + "asc": ListMigrationParametersSortOrderAsc, + "desc": ListMigrationParametersSortOrderDesc, +} + +// GetListMigrationParametersSortOrderEnumValues Enumerates the set of values for ListMigrationParametersSortOrderEnum +func GetListMigrationParametersSortOrderEnumValues() []ListMigrationParametersSortOrderEnum { + values := make([]ListMigrationParametersSortOrderEnum, 0) + for _, v := range mappingListMigrationParametersSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListMigrationParametersSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationParametersSortOrderEnum +func GetListMigrationParametersSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListMigrationParametersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListMigrationParametersSortOrderEnum(val string) (ListMigrationParametersSortOrderEnum, bool) { + enum, ok := mappingListMigrationParametersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/databasemigration/migration_parameter_base.go b/databasemigration/migration_parameter_base.go new file mode 100644 index 0000000000..8b5963da23 --- /dev/null +++ b/databasemigration/migration_parameter_base.go @@ -0,0 +1,45 @@ +// 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. + +// Database Migration API +// +// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. +// + +package databasemigration + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MigrationParameterBase Migration parameter base object. +type MigrationParameterBase struct { + + // Parameter name. + Name *string `mandatory:"true" json:"name"` + + // Parameter data type. + DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"` +} + +func (m MigrationParameterBase) 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 MigrationParameterBase) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAdvancedParameterDataTypesEnum(string(m.DataType)); !ok && m.DataType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DataType: %s. Supported values are: %s.", m.DataType, strings.Join(GetAdvancedParameterDataTypesEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/databasemigration/migration_parameter_details.go b/databasemigration/migration_parameter_details.go new file mode 100644 index 0000000000..a91939c92f --- /dev/null +++ b/databasemigration/migration_parameter_details.go @@ -0,0 +1,51 @@ +// 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. + +// Database Migration API +// +// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. +// + +package databasemigration + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MigrationParameterDetails Migration parameter details object. +type MigrationParameterDetails struct { + + // Parameter name. + Name *string `mandatory:"true" json:"name"` + + // Parameter data type. + DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"` + + // If a STRING data type then the value should be an array of characters, + // if a INTEGER data type then the value should be an integer value, + // if a FLOAT data type then the value should be an float value, + // if a BOOLEAN data type then the value should be TRUE or FALSE. + Value *string `mandatory:"true" json:"value"` +} + +func (m MigrationParameterDetails) 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 MigrationParameterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAdvancedParameterDataTypesEnum(string(m.DataType)); !ok && m.DataType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DataType: %s. Supported values are: %s.", m.DataType, strings.Join(GetAdvancedParameterDataTypesEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/databasemigration/migration_parameter_summary.go b/databasemigration/migration_parameter_summary.go new file mode 100644 index 0000000000..bee06f631a --- /dev/null +++ b/databasemigration/migration_parameter_summary.go @@ -0,0 +1,85 @@ +// 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. + +// Database Migration API +// +// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. +// + +package databasemigration + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MigrationParameterSummary Migration parameter response object. +type MigrationParameterSummary struct { + + // Parameter name. + Name *string `mandatory:"true" json:"name"` + + // Parameter data type. + DataType AdvancedParameterDataTypesEnum `mandatory:"true" json:"dataType"` + + // The combination of source and target databases participating in a migration. + // Example: ORACLE means the migration is meant for migrating Oracle source and target databases. + DatabaseCombination DatabaseCombinationEnum `mandatory:"true" json:"databaseCombination"` + + // Parameter display name. + DisplayName *string `mandatory:"true" json:"displayName"` + + // Parameter name description. + Description *string `mandatory:"true" json:"description"` + + // Parameter category name. + CategoryName *string `mandatory:"true" json:"categoryName"` + + // Parameter category display name. + CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"` + + // Migration Stage. + MigrationType MigrationTypesEnum `mandatory:"true" json:"migrationType"` + + // Parameter documentation URL link. + DocUrlLink *string `mandatory:"false" json:"docUrlLink"` + + // Default value for a parameter. + DefaultValue *string `mandatory:"false" json:"defaultValue"` + + // Parameter minimum value. + MinValue *float32 `mandatory:"false" json:"minValue"` + + // Parameter maximum value. + MaxValue *float32 `mandatory:"false" json:"maxValue"` + + // Hint text for parameter value. + HintText *string `mandatory:"false" json:"hintText"` +} + +func (m MigrationParameterSummary) 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 MigrationParameterSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAdvancedParameterDataTypesEnum(string(m.DataType)); !ok && m.DataType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DataType: %s. Supported values are: %s.", m.DataType, strings.Join(GetAdvancedParameterDataTypesEnumStringValues(), ","))) + } + if _, ok := GetMappingDatabaseCombinationEnum(string(m.DatabaseCombination)); !ok && m.DatabaseCombination != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseCombination: %s. Supported values are: %s.", m.DatabaseCombination, strings.Join(GetDatabaseCombinationEnumStringValues(), ","))) + } + if _, ok := GetMappingMigrationTypesEnum(string(m.MigrationType)); !ok && m.MigrationType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MigrationType: %s. Supported values are: %s.", m.MigrationType, strings.Join(GetMigrationTypesEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/databasemigration/migration_parameter_summary_collection.go b/databasemigration/migration_parameter_summary_collection.go new file mode 100644 index 0000000000..b90c4fc828 --- /dev/null +++ b/databasemigration/migration_parameter_summary_collection.go @@ -0,0 +1,39 @@ +// 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. + +// Database Migration API +// +// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations. +// + +package databasemigration + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MigrationParameterSummaryCollection List of Migration Parameter Summary objects. +type MigrationParameterSummaryCollection struct { + + // List of Migration Parameters. + Items []MigrationParameterSummary `mandatory:"true" json:"items"` +} + +func (m MigrationParameterSummaryCollection) 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 MigrationParameterSummaryCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/databasemigration/oracle_migration.go b/databasemigration/oracle_migration.go index f5885970d7..34d5612f70 100644 --- a/databasemigration/oracle_migration.go +++ b/databasemigration/oracle_migration.go @@ -76,6 +76,9 @@ type OracleMigration struct { // The OCID of the resource being referenced. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` + // List of Migration Parameter objects. + AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"` + // The type of the migration to be performed. // Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication. Type MigrationTypesEnum `mandatory:"true" json:"type"` @@ -236,6 +239,7 @@ func (m *OracleMigration) UnmarshalJSON(data []byte) (e error) { HubDetails *GoldenGateHubDetails `json:"hubDetails"` GgsDetails *OracleGgsDeploymentDetails `json:"ggsDetails"` SourceContainerDatabaseConnectionId *string `json:"sourceContainerDatabaseConnectionId"` + AdvancedParameters []MigrationParameterDetails `json:"advancedParameters"` Id *string `json:"id"` DisplayName *string `json:"displayName"` CompartmentId *string `json:"compartmentId"` @@ -289,6 +293,8 @@ func (m *OracleMigration) UnmarshalJSON(data []byte) (e error) { m.SourceContainerDatabaseConnectionId = model.SourceContainerDatabaseConnectionId + m.AdvancedParameters = make([]MigrationParameterDetails, len(model.AdvancedParameters)) + copy(m.AdvancedParameters, model.AdvancedParameters) m.Id = model.Id m.DisplayName = model.DisplayName diff --git a/databasemigration/update_oracle_migration_details.go b/databasemigration/update_oracle_migration_details.go index 37d9dec7ff..9c2aa92a6c 100644 --- a/databasemigration/update_oracle_migration_details.go +++ b/databasemigration/update_oracle_migration_details.go @@ -51,6 +51,9 @@ type UpdateOracleMigrationDetails struct { GgsDetails *UpdateOracleGgsDeploymentDetails `mandatory:"false" json:"ggsDetails"` + // List of Migration Parameter objects. + AdvancedParameters []MigrationParameterDetails `mandatory:"false" json:"advancedParameters"` + // The OCID of the resource being referenced. SourceContainerDatabaseConnectionId *string `mandatory:"false" json:"sourceContainerDatabaseConnectionId"` @@ -142,6 +145,7 @@ func (m *UpdateOracleMigrationDetails) UnmarshalJSON(data []byte) (e error) { AdvisorSettings *UpdateOracleAdvisorSettings `json:"advisorSettings"` HubDetails *UpdateGoldenGateHubDetails `json:"hubDetails"` GgsDetails *UpdateOracleGgsDeploymentDetails `json:"ggsDetails"` + AdvancedParameters []MigrationParameterDetails `json:"advancedParameters"` SourceContainerDatabaseConnectionId *string `json:"sourceContainerDatabaseConnectionId"` }{} @@ -182,6 +186,8 @@ func (m *UpdateOracleMigrationDetails) UnmarshalJSON(data []byte) (e error) { m.GgsDetails = model.GgsDetails + m.AdvancedParameters = make([]MigrationParameterDetails, len(model.AdvancedParameters)) + copy(m.AdvancedParameters, model.AdvancedParameters) m.SourceContainerDatabaseConnectionId = model.SourceContainerDatabaseConnectionId return diff --git a/filestorage/create_export_details.go b/filestorage/create_export_details.go index db63c230af..34c0f0b771 100644 --- a/filestorage/create_export_details.go +++ b/filestorage/create_export_details.go @@ -30,8 +30,9 @@ type CreateExportDetails struct { // Example: `/mediafiles` Path *string `mandatory:"true" json:"path"` - // Export options for the new export. If left unspecified, - // defaults to: + // Export options for the new export. For exports of mount targets with + // IPv4 address, if client options are left unspecified, client options + // would default to: // [ // { // "source" : "0.0.0.0/0", @@ -44,6 +45,9 @@ type CreateExportDetails struct { // "allowedAuth": ["SYS"] // } // ] + // For exports of mount targets with IPv6 address, if client options are + // left unspecified, client options would be an empty array, i.e. export + // would not be visible to any clients. // **Note:** Mount targets do not have Internet-routable IP // addresses. Therefore they will not be reachable from the // Internet, even if an associated `ClientOptions` item has diff --git a/filestorage/create_file_system_details.go b/filestorage/create_file_system_details.go index 281da78a37..362f3ba836 100644 --- a/filestorage/create_file_system_details.go +++ b/filestorage/create_file_system_details.go @@ -49,6 +49,11 @@ type CreateFileSystemDetails struct { // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). SourceSnapshotId *string `mandatory:"false" json:"sourceSnapshotId"` + // Specifies whether the clone file system is attached to its parent file system. + // If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot + // specified by sourceSnapshotId, else will remain attached to its parent. + CloneAttachStatus CreateFileSystemDetailsCloneAttachStatusEnum `mandatory:"false" json:"cloneAttachStatus,omitempty"` + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which // controls the frequency of snapshot creation and retention period of the taken snapshots. // May be unset as a blank value. @@ -65,8 +70,53 @@ func (m CreateFileSystemDetails) String() string { func (m CreateFileSystemDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingCreateFileSystemDetailsCloneAttachStatusEnum(string(m.CloneAttachStatus)); !ok && m.CloneAttachStatus != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetCreateFileSystemDetailsCloneAttachStatusEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } return false, nil } + +// CreateFileSystemDetailsCloneAttachStatusEnum Enum with underlying type: string +type CreateFileSystemDetailsCloneAttachStatusEnum string + +// Set of constants representing the allowable values for CreateFileSystemDetailsCloneAttachStatusEnum +const ( + CreateFileSystemDetailsCloneAttachStatusDetach CreateFileSystemDetailsCloneAttachStatusEnum = "DETACH" + CreateFileSystemDetailsCloneAttachStatusAttach CreateFileSystemDetailsCloneAttachStatusEnum = "ATTACH" +) + +var mappingCreateFileSystemDetailsCloneAttachStatusEnum = map[string]CreateFileSystemDetailsCloneAttachStatusEnum{ + "DETACH": CreateFileSystemDetailsCloneAttachStatusDetach, + "ATTACH": CreateFileSystemDetailsCloneAttachStatusAttach, +} + +var mappingCreateFileSystemDetailsCloneAttachStatusEnumLowerCase = map[string]CreateFileSystemDetailsCloneAttachStatusEnum{ + "detach": CreateFileSystemDetailsCloneAttachStatusDetach, + "attach": CreateFileSystemDetailsCloneAttachStatusAttach, +} + +// GetCreateFileSystemDetailsCloneAttachStatusEnumValues Enumerates the set of values for CreateFileSystemDetailsCloneAttachStatusEnum +func GetCreateFileSystemDetailsCloneAttachStatusEnumValues() []CreateFileSystemDetailsCloneAttachStatusEnum { + values := make([]CreateFileSystemDetailsCloneAttachStatusEnum, 0) + for _, v := range mappingCreateFileSystemDetailsCloneAttachStatusEnum { + values = append(values, v) + } + return values +} + +// GetCreateFileSystemDetailsCloneAttachStatusEnumStringValues Enumerates the set of values in String for CreateFileSystemDetailsCloneAttachStatusEnum +func GetCreateFileSystemDetailsCloneAttachStatusEnumStringValues() []string { + return []string{ + "DETACH", + "ATTACH", + } +} + +// GetMappingCreateFileSystemDetailsCloneAttachStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateFileSystemDetailsCloneAttachStatusEnum(val string) (CreateFileSystemDetailsCloneAttachStatusEnum, bool) { + enum, ok := mappingCreateFileSystemDetailsCloneAttachStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/filestorage/delete_file_system_request_response.go b/filestorage/delete_file_system_request_response.go index d6088f13ef..434675c8c9 100644 --- a/filestorage/delete_file_system_request_response.go +++ b/filestorage/delete_file_system_request_response.go @@ -32,6 +32,10 @@ type DeleteFileSystemRequest struct { // 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"` + // If the value is set to true, then the file system will be deleted by detaching its child file system, turning + // the child file system into an independent File System. + CanDetachChildFileSystem *bool `mandatory:"false" contributesTo:"query" name:"canDetachChildFileSystem"` + // 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 diff --git a/filestorage/detach_clone_request_response.go b/filestorage/detach_clone_request_response.go new file mode 100644 index 0000000000..786738814d --- /dev/null +++ b/filestorage/detach_clone_request_response.go @@ -0,0 +1,96 @@ +// 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. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DetachCloneRequest wrapper for the DetachClone operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachCloneRequest. +type DetachCloneRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique 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"` + + // 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 +} + +func (request DetachCloneRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DetachCloneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DetachCloneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DetachCloneRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// 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 (request DetachCloneRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DetachCloneResponse wrapper for the DetachClone operation +type DetachCloneResponse struct { + + // The underlying http response + RawResponse *http.Response + + // 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"` +} + +func (response DetachCloneResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DetachCloneResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/filestorage/file_system.go b/filestorage/file_system.go index 422efa2278..d3ea3ae4b0 100644 --- a/filestorage/file_system.go +++ b/filestorage/file_system.go @@ -84,6 +84,12 @@ type FileSystem struct { // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration). IsHydrated *bool `mandatory:"false" json:"isHydrated"` + // Specifies the total number of children of a file system. + CloneCount *int `mandatory:"false" json:"cloneCount"` + + // Specifies whether the file system is attached to its parent file system. + CloneAttachStatus FileSystemCloneAttachStatusEnum `mandatory:"false" json:"cloneAttachStatus,omitempty"` + // Additional information about the current 'lifecycleState'. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` @@ -113,6 +119,9 @@ func (m FileSystem) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFileSystemLifecycleStateEnumStringValues(), ","))) } + if _, ok := GetMappingFileSystemCloneAttachStatusEnum(string(m.CloneAttachStatus)); !ok && m.CloneAttachStatus != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetFileSystemCloneAttachStatusEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -126,6 +135,7 @@ type FileSystemLifecycleStateEnum string const ( FileSystemLifecycleStateCreating FileSystemLifecycleStateEnum = "CREATING" FileSystemLifecycleStateActive FileSystemLifecycleStateEnum = "ACTIVE" + FileSystemLifecycleStateUpdating FileSystemLifecycleStateEnum = "UPDATING" FileSystemLifecycleStateDeleting FileSystemLifecycleStateEnum = "DELETING" FileSystemLifecycleStateDeleted FileSystemLifecycleStateEnum = "DELETED" FileSystemLifecycleStateFailed FileSystemLifecycleStateEnum = "FAILED" @@ -134,6 +144,7 @@ const ( var mappingFileSystemLifecycleStateEnum = map[string]FileSystemLifecycleStateEnum{ "CREATING": FileSystemLifecycleStateCreating, "ACTIVE": FileSystemLifecycleStateActive, + "UPDATING": FileSystemLifecycleStateUpdating, "DELETING": FileSystemLifecycleStateDeleting, "DELETED": FileSystemLifecycleStateDeleted, "FAILED": FileSystemLifecycleStateFailed, @@ -142,6 +153,7 @@ var mappingFileSystemLifecycleStateEnum = map[string]FileSystemLifecycleStateEnu var mappingFileSystemLifecycleStateEnumLowerCase = map[string]FileSystemLifecycleStateEnum{ "creating": FileSystemLifecycleStateCreating, "active": FileSystemLifecycleStateActive, + "updating": FileSystemLifecycleStateUpdating, "deleting": FileSystemLifecycleStateDeleting, "deleted": FileSystemLifecycleStateDeleted, "failed": FileSystemLifecycleStateFailed, @@ -161,6 +173,7 @@ func GetFileSystemLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", @@ -172,3 +185,49 @@ func GetMappingFileSystemLifecycleStateEnum(val string) (FileSystemLifecycleStat enum, ok := mappingFileSystemLifecycleStateEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// FileSystemCloneAttachStatusEnum Enum with underlying type: string +type FileSystemCloneAttachStatusEnum string + +// Set of constants representing the allowable values for FileSystemCloneAttachStatusEnum +const ( + FileSystemCloneAttachStatusAttached FileSystemCloneAttachStatusEnum = "ATTACHED" + FileSystemCloneAttachStatusDetaching FileSystemCloneAttachStatusEnum = "DETACHING" + FileSystemCloneAttachStatusDetached FileSystemCloneAttachStatusEnum = "DETACHED" +) + +var mappingFileSystemCloneAttachStatusEnum = map[string]FileSystemCloneAttachStatusEnum{ + "ATTACHED": FileSystemCloneAttachStatusAttached, + "DETACHING": FileSystemCloneAttachStatusDetaching, + "DETACHED": FileSystemCloneAttachStatusDetached, +} + +var mappingFileSystemCloneAttachStatusEnumLowerCase = map[string]FileSystemCloneAttachStatusEnum{ + "attached": FileSystemCloneAttachStatusAttached, + "detaching": FileSystemCloneAttachStatusDetaching, + "detached": FileSystemCloneAttachStatusDetached, +} + +// GetFileSystemCloneAttachStatusEnumValues Enumerates the set of values for FileSystemCloneAttachStatusEnum +func GetFileSystemCloneAttachStatusEnumValues() []FileSystemCloneAttachStatusEnum { + values := make([]FileSystemCloneAttachStatusEnum, 0) + for _, v := range mappingFileSystemCloneAttachStatusEnum { + values = append(values, v) + } + return values +} + +// GetFileSystemCloneAttachStatusEnumStringValues Enumerates the set of values in String for FileSystemCloneAttachStatusEnum +func GetFileSystemCloneAttachStatusEnumStringValues() []string { + return []string{ + "ATTACHED", + "DETACHING", + "DETACHED", + } +} + +// GetMappingFileSystemCloneAttachStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFileSystemCloneAttachStatusEnum(val string) (FileSystemCloneAttachStatusEnum, bool) { + enum, ok := mappingFileSystemCloneAttachStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/filestorage/file_system_summary.go b/filestorage/file_system_summary.go index 71c9502731..d1a0749545 100644 --- a/filestorage/file_system_summary.go +++ b/filestorage/file_system_summary.go @@ -77,6 +77,9 @@ type FileSystemSummary struct { // Additional information about the current 'lifecycleState'. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // Specifies whether the file system is attached to its parent file system. + CloneAttachStatus FileSystemSummaryCloneAttachStatusEnum `mandatory:"false" json:"cloneAttachStatus,omitempty"` } func (m FileSystemSummary) String() string { @@ -92,6 +95,9 @@ func (m FileSystemSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFileSystemSummaryLifecycleStateEnumStringValues(), ","))) } + if _, ok := GetMappingFileSystemSummaryCloneAttachStatusEnum(string(m.CloneAttachStatus)); !ok && m.CloneAttachStatus != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetFileSystemSummaryCloneAttachStatusEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -105,6 +111,7 @@ type FileSystemSummaryLifecycleStateEnum string const ( FileSystemSummaryLifecycleStateCreating FileSystemSummaryLifecycleStateEnum = "CREATING" FileSystemSummaryLifecycleStateActive FileSystemSummaryLifecycleStateEnum = "ACTIVE" + FileSystemSummaryLifecycleStateUpdating FileSystemSummaryLifecycleStateEnum = "UPDATING" FileSystemSummaryLifecycleStateDeleting FileSystemSummaryLifecycleStateEnum = "DELETING" FileSystemSummaryLifecycleStateDeleted FileSystemSummaryLifecycleStateEnum = "DELETED" FileSystemSummaryLifecycleStateFailed FileSystemSummaryLifecycleStateEnum = "FAILED" @@ -113,6 +120,7 @@ const ( var mappingFileSystemSummaryLifecycleStateEnum = map[string]FileSystemSummaryLifecycleStateEnum{ "CREATING": FileSystemSummaryLifecycleStateCreating, "ACTIVE": FileSystemSummaryLifecycleStateActive, + "UPDATING": FileSystemSummaryLifecycleStateUpdating, "DELETING": FileSystemSummaryLifecycleStateDeleting, "DELETED": FileSystemSummaryLifecycleStateDeleted, "FAILED": FileSystemSummaryLifecycleStateFailed, @@ -121,6 +129,7 @@ var mappingFileSystemSummaryLifecycleStateEnum = map[string]FileSystemSummaryLif var mappingFileSystemSummaryLifecycleStateEnumLowerCase = map[string]FileSystemSummaryLifecycleStateEnum{ "creating": FileSystemSummaryLifecycleStateCreating, "active": FileSystemSummaryLifecycleStateActive, + "updating": FileSystemSummaryLifecycleStateUpdating, "deleting": FileSystemSummaryLifecycleStateDeleting, "deleted": FileSystemSummaryLifecycleStateDeleted, "failed": FileSystemSummaryLifecycleStateFailed, @@ -140,6 +149,7 @@ func GetFileSystemSummaryLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", @@ -151,3 +161,49 @@ func GetMappingFileSystemSummaryLifecycleStateEnum(val string) (FileSystemSummar enum, ok := mappingFileSystemSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// FileSystemSummaryCloneAttachStatusEnum Enum with underlying type: string +type FileSystemSummaryCloneAttachStatusEnum string + +// Set of constants representing the allowable values for FileSystemSummaryCloneAttachStatusEnum +const ( + FileSystemSummaryCloneAttachStatusAttached FileSystemSummaryCloneAttachStatusEnum = "ATTACHED" + FileSystemSummaryCloneAttachStatusDetaching FileSystemSummaryCloneAttachStatusEnum = "DETACHING" + FileSystemSummaryCloneAttachStatusDetached FileSystemSummaryCloneAttachStatusEnum = "DETACHED" +) + +var mappingFileSystemSummaryCloneAttachStatusEnum = map[string]FileSystemSummaryCloneAttachStatusEnum{ + "ATTACHED": FileSystemSummaryCloneAttachStatusAttached, + "DETACHING": FileSystemSummaryCloneAttachStatusDetaching, + "DETACHED": FileSystemSummaryCloneAttachStatusDetached, +} + +var mappingFileSystemSummaryCloneAttachStatusEnumLowerCase = map[string]FileSystemSummaryCloneAttachStatusEnum{ + "attached": FileSystemSummaryCloneAttachStatusAttached, + "detaching": FileSystemSummaryCloneAttachStatusDetaching, + "detached": FileSystemSummaryCloneAttachStatusDetached, +} + +// GetFileSystemSummaryCloneAttachStatusEnumValues Enumerates the set of values for FileSystemSummaryCloneAttachStatusEnum +func GetFileSystemSummaryCloneAttachStatusEnumValues() []FileSystemSummaryCloneAttachStatusEnum { + values := make([]FileSystemSummaryCloneAttachStatusEnum, 0) + for _, v := range mappingFileSystemSummaryCloneAttachStatusEnum { + values = append(values, v) + } + return values +} + +// GetFileSystemSummaryCloneAttachStatusEnumStringValues Enumerates the set of values in String for FileSystemSummaryCloneAttachStatusEnum +func GetFileSystemSummaryCloneAttachStatusEnumStringValues() []string { + return []string{ + "ATTACHED", + "DETACHING", + "DETACHED", + } +} + +// GetMappingFileSystemSummaryCloneAttachStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFileSystemSummaryCloneAttachStatusEnum(val string) (FileSystemSummaryCloneAttachStatusEnum, bool) { + enum, ok := mappingFileSystemSummaryCloneAttachStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/filestorage/filestorage_client.go b/filestorage/filestorage_client.go index ea1a3d4726..624162681a 100644 --- a/filestorage/filestorage_client.go +++ b/filestorage/filestorage_client.go @@ -1370,6 +1370,63 @@ func (client FileStorageClient) deleteSnapshot(ctx context.Context, request comm return response, err } +// DetachClone Detaches the file system from its parent file system +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachClone API. +func (client FileStorageClient) DetachClone(ctx context.Context, request DetachCloneRequest) (response DetachCloneResponse, 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.detachClone, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DetachCloneResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DetachCloneResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DetachCloneResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DetachCloneResponse") + } + return +} + +// detachClone implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) detachClone(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/fileSystems/{fileSystemId}/actions/detachClone", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DetachCloneResponse + 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/filestorage/20171215/FileSystem/DetachClone" + err = common.PostProcessServiceError(err, "FileStorage", "DetachClone", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // EstimateReplication Provides estimates for replication created using specific file system. // // # See also diff --git a/filestorage/list_export_sets_request_response.go b/filestorage/list_export_sets_request_response.go index a20ade7b3b..687d667121 100644 --- a/filestorage/list_export_sets_request_response.go +++ b/filestorage/list_export_sets_request_response.go @@ -154,6 +154,7 @@ type ListExportSetsLifecycleStateEnum string const ( ListExportSetsLifecycleStateCreating ListExportSetsLifecycleStateEnum = "CREATING" ListExportSetsLifecycleStateActive ListExportSetsLifecycleStateEnum = "ACTIVE" + ListExportSetsLifecycleStateUpdating ListExportSetsLifecycleStateEnum = "UPDATING" ListExportSetsLifecycleStateDeleting ListExportSetsLifecycleStateEnum = "DELETING" ListExportSetsLifecycleStateDeleted ListExportSetsLifecycleStateEnum = "DELETED" ListExportSetsLifecycleStateFailed ListExportSetsLifecycleStateEnum = "FAILED" @@ -162,6 +163,7 @@ const ( var mappingListExportSetsLifecycleStateEnum = map[string]ListExportSetsLifecycleStateEnum{ "CREATING": ListExportSetsLifecycleStateCreating, "ACTIVE": ListExportSetsLifecycleStateActive, + "UPDATING": ListExportSetsLifecycleStateUpdating, "DELETING": ListExportSetsLifecycleStateDeleting, "DELETED": ListExportSetsLifecycleStateDeleted, "FAILED": ListExportSetsLifecycleStateFailed, @@ -170,6 +172,7 @@ var mappingListExportSetsLifecycleStateEnum = map[string]ListExportSetsLifecycle var mappingListExportSetsLifecycleStateEnumLowerCase = map[string]ListExportSetsLifecycleStateEnum{ "creating": ListExportSetsLifecycleStateCreating, "active": ListExportSetsLifecycleStateActive, + "updating": ListExportSetsLifecycleStateUpdating, "deleting": ListExportSetsLifecycleStateDeleting, "deleted": ListExportSetsLifecycleStateDeleted, "failed": ListExportSetsLifecycleStateFailed, @@ -189,6 +192,7 @@ func GetListExportSetsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_exports_request_response.go b/filestorage/list_exports_request_response.go index 84e1aac026..d140c63d0f 100644 --- a/filestorage/list_exports_request_response.go +++ b/filestorage/list_exports_request_response.go @@ -152,6 +152,7 @@ type ListExportsLifecycleStateEnum string const ( ListExportsLifecycleStateCreating ListExportsLifecycleStateEnum = "CREATING" ListExportsLifecycleStateActive ListExportsLifecycleStateEnum = "ACTIVE" + ListExportsLifecycleStateUpdating ListExportsLifecycleStateEnum = "UPDATING" ListExportsLifecycleStateDeleting ListExportsLifecycleStateEnum = "DELETING" ListExportsLifecycleStateDeleted ListExportsLifecycleStateEnum = "DELETED" ListExportsLifecycleStateFailed ListExportsLifecycleStateEnum = "FAILED" @@ -160,6 +161,7 @@ const ( var mappingListExportsLifecycleStateEnum = map[string]ListExportsLifecycleStateEnum{ "CREATING": ListExportsLifecycleStateCreating, "ACTIVE": ListExportsLifecycleStateActive, + "UPDATING": ListExportsLifecycleStateUpdating, "DELETING": ListExportsLifecycleStateDeleting, "DELETED": ListExportsLifecycleStateDeleted, "FAILED": ListExportsLifecycleStateFailed, @@ -168,6 +170,7 @@ var mappingListExportsLifecycleStateEnum = map[string]ListExportsLifecycleStateE var mappingListExportsLifecycleStateEnumLowerCase = map[string]ListExportsLifecycleStateEnum{ "creating": ListExportsLifecycleStateCreating, "active": ListExportsLifecycleStateActive, + "updating": ListExportsLifecycleStateUpdating, "deleting": ListExportsLifecycleStateDeleting, "deleted": ListExportsLifecycleStateDeleted, "failed": ListExportsLifecycleStateFailed, @@ -187,6 +190,7 @@ func GetListExportsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_file_systems_request_response.go b/filestorage/list_file_systems_request_response.go index bed1d84973..ffc8658b03 100644 --- a/filestorage/list_file_systems_request_response.go +++ b/filestorage/list_file_systems_request_response.go @@ -164,6 +164,7 @@ type ListFileSystemsLifecycleStateEnum string const ( ListFileSystemsLifecycleStateCreating ListFileSystemsLifecycleStateEnum = "CREATING" ListFileSystemsLifecycleStateActive ListFileSystemsLifecycleStateEnum = "ACTIVE" + ListFileSystemsLifecycleStateUpdating ListFileSystemsLifecycleStateEnum = "UPDATING" ListFileSystemsLifecycleStateDeleting ListFileSystemsLifecycleStateEnum = "DELETING" ListFileSystemsLifecycleStateDeleted ListFileSystemsLifecycleStateEnum = "DELETED" ListFileSystemsLifecycleStateFailed ListFileSystemsLifecycleStateEnum = "FAILED" @@ -172,6 +173,7 @@ const ( var mappingListFileSystemsLifecycleStateEnum = map[string]ListFileSystemsLifecycleStateEnum{ "CREATING": ListFileSystemsLifecycleStateCreating, "ACTIVE": ListFileSystemsLifecycleStateActive, + "UPDATING": ListFileSystemsLifecycleStateUpdating, "DELETING": ListFileSystemsLifecycleStateDeleting, "DELETED": ListFileSystemsLifecycleStateDeleted, "FAILED": ListFileSystemsLifecycleStateFailed, @@ -180,6 +182,7 @@ var mappingListFileSystemsLifecycleStateEnum = map[string]ListFileSystemsLifecyc var mappingListFileSystemsLifecycleStateEnumLowerCase = map[string]ListFileSystemsLifecycleStateEnum{ "creating": ListFileSystemsLifecycleStateCreating, "active": ListFileSystemsLifecycleStateActive, + "updating": ListFileSystemsLifecycleStateUpdating, "deleting": ListFileSystemsLifecycleStateDeleting, "deleted": ListFileSystemsLifecycleStateDeleted, "failed": ListFileSystemsLifecycleStateFailed, @@ -199,6 +202,7 @@ func GetListFileSystemsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_mount_targets_request_response.go b/filestorage/list_mount_targets_request_response.go index 903c4c8f04..16e85ec4c3 100644 --- a/filestorage/list_mount_targets_request_response.go +++ b/filestorage/list_mount_targets_request_response.go @@ -157,6 +157,7 @@ type ListMountTargetsLifecycleStateEnum string const ( ListMountTargetsLifecycleStateCreating ListMountTargetsLifecycleStateEnum = "CREATING" ListMountTargetsLifecycleStateActive ListMountTargetsLifecycleStateEnum = "ACTIVE" + ListMountTargetsLifecycleStateUpdating ListMountTargetsLifecycleStateEnum = "UPDATING" ListMountTargetsLifecycleStateDeleting ListMountTargetsLifecycleStateEnum = "DELETING" ListMountTargetsLifecycleStateDeleted ListMountTargetsLifecycleStateEnum = "DELETED" ListMountTargetsLifecycleStateFailed ListMountTargetsLifecycleStateEnum = "FAILED" @@ -165,6 +166,7 @@ const ( var mappingListMountTargetsLifecycleStateEnum = map[string]ListMountTargetsLifecycleStateEnum{ "CREATING": ListMountTargetsLifecycleStateCreating, "ACTIVE": ListMountTargetsLifecycleStateActive, + "UPDATING": ListMountTargetsLifecycleStateUpdating, "DELETING": ListMountTargetsLifecycleStateDeleting, "DELETED": ListMountTargetsLifecycleStateDeleted, "FAILED": ListMountTargetsLifecycleStateFailed, @@ -173,6 +175,7 @@ var mappingListMountTargetsLifecycleStateEnum = map[string]ListMountTargetsLifec var mappingListMountTargetsLifecycleStateEnumLowerCase = map[string]ListMountTargetsLifecycleStateEnum{ "creating": ListMountTargetsLifecycleStateCreating, "active": ListMountTargetsLifecycleStateActive, + "updating": ListMountTargetsLifecycleStateUpdating, "deleting": ListMountTargetsLifecycleStateDeleting, "deleted": ListMountTargetsLifecycleStateDeleted, "failed": ListMountTargetsLifecycleStateFailed, @@ -192,6 +195,7 @@ func GetListMountTargetsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_outbound_connectors_request_response.go b/filestorage/list_outbound_connectors_request_response.go index ae62304ddc..b49248ef7d 100644 --- a/filestorage/list_outbound_connectors_request_response.go +++ b/filestorage/list_outbound_connectors_request_response.go @@ -154,6 +154,7 @@ type ListOutboundConnectorsLifecycleStateEnum string const ( ListOutboundConnectorsLifecycleStateCreating ListOutboundConnectorsLifecycleStateEnum = "CREATING" ListOutboundConnectorsLifecycleStateActive ListOutboundConnectorsLifecycleStateEnum = "ACTIVE" + ListOutboundConnectorsLifecycleStateUpdating ListOutboundConnectorsLifecycleStateEnum = "UPDATING" ListOutboundConnectorsLifecycleStateDeleting ListOutboundConnectorsLifecycleStateEnum = "DELETING" ListOutboundConnectorsLifecycleStateDeleted ListOutboundConnectorsLifecycleStateEnum = "DELETED" ListOutboundConnectorsLifecycleStateFailed ListOutboundConnectorsLifecycleStateEnum = "FAILED" @@ -162,6 +163,7 @@ const ( var mappingListOutboundConnectorsLifecycleStateEnum = map[string]ListOutboundConnectorsLifecycleStateEnum{ "CREATING": ListOutboundConnectorsLifecycleStateCreating, "ACTIVE": ListOutboundConnectorsLifecycleStateActive, + "UPDATING": ListOutboundConnectorsLifecycleStateUpdating, "DELETING": ListOutboundConnectorsLifecycleStateDeleting, "DELETED": ListOutboundConnectorsLifecycleStateDeleted, "FAILED": ListOutboundConnectorsLifecycleStateFailed, @@ -170,6 +172,7 @@ var mappingListOutboundConnectorsLifecycleStateEnum = map[string]ListOutboundCon var mappingListOutboundConnectorsLifecycleStateEnumLowerCase = map[string]ListOutboundConnectorsLifecycleStateEnum{ "creating": ListOutboundConnectorsLifecycleStateCreating, "active": ListOutboundConnectorsLifecycleStateActive, + "updating": ListOutboundConnectorsLifecycleStateUpdating, "deleting": ListOutboundConnectorsLifecycleStateDeleting, "deleted": ListOutboundConnectorsLifecycleStateDeleted, "failed": ListOutboundConnectorsLifecycleStateFailed, @@ -189,6 +192,7 @@ func GetListOutboundConnectorsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_replication_targets_request_response.go b/filestorage/list_replication_targets_request_response.go index 7799d06081..f095542118 100644 --- a/filestorage/list_replication_targets_request_response.go +++ b/filestorage/list_replication_targets_request_response.go @@ -154,6 +154,7 @@ type ListReplicationTargetsLifecycleStateEnum string const ( ListReplicationTargetsLifecycleStateCreating ListReplicationTargetsLifecycleStateEnum = "CREATING" ListReplicationTargetsLifecycleStateActive ListReplicationTargetsLifecycleStateEnum = "ACTIVE" + ListReplicationTargetsLifecycleStateUpdating ListReplicationTargetsLifecycleStateEnum = "UPDATING" ListReplicationTargetsLifecycleStateDeleting ListReplicationTargetsLifecycleStateEnum = "DELETING" ListReplicationTargetsLifecycleStateDeleted ListReplicationTargetsLifecycleStateEnum = "DELETED" ListReplicationTargetsLifecycleStateFailed ListReplicationTargetsLifecycleStateEnum = "FAILED" @@ -162,6 +163,7 @@ const ( var mappingListReplicationTargetsLifecycleStateEnum = map[string]ListReplicationTargetsLifecycleStateEnum{ "CREATING": ListReplicationTargetsLifecycleStateCreating, "ACTIVE": ListReplicationTargetsLifecycleStateActive, + "UPDATING": ListReplicationTargetsLifecycleStateUpdating, "DELETING": ListReplicationTargetsLifecycleStateDeleting, "DELETED": ListReplicationTargetsLifecycleStateDeleted, "FAILED": ListReplicationTargetsLifecycleStateFailed, @@ -170,6 +172,7 @@ var mappingListReplicationTargetsLifecycleStateEnum = map[string]ListReplication var mappingListReplicationTargetsLifecycleStateEnumLowerCase = map[string]ListReplicationTargetsLifecycleStateEnum{ "creating": ListReplicationTargetsLifecycleStateCreating, "active": ListReplicationTargetsLifecycleStateActive, + "updating": ListReplicationTargetsLifecycleStateUpdating, "deleting": ListReplicationTargetsLifecycleStateDeleting, "deleted": ListReplicationTargetsLifecycleStateDeleted, "failed": ListReplicationTargetsLifecycleStateFailed, @@ -189,6 +192,7 @@ func GetListReplicationTargetsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_replications_request_response.go b/filestorage/list_replications_request_response.go index 4cacc7f90a..2e865b7dee 100644 --- a/filestorage/list_replications_request_response.go +++ b/filestorage/list_replications_request_response.go @@ -157,6 +157,7 @@ type ListReplicationsLifecycleStateEnum string const ( ListReplicationsLifecycleStateCreating ListReplicationsLifecycleStateEnum = "CREATING" ListReplicationsLifecycleStateActive ListReplicationsLifecycleStateEnum = "ACTIVE" + ListReplicationsLifecycleStateUpdating ListReplicationsLifecycleStateEnum = "UPDATING" ListReplicationsLifecycleStateDeleting ListReplicationsLifecycleStateEnum = "DELETING" ListReplicationsLifecycleStateDeleted ListReplicationsLifecycleStateEnum = "DELETED" ListReplicationsLifecycleStateFailed ListReplicationsLifecycleStateEnum = "FAILED" @@ -165,6 +166,7 @@ const ( var mappingListReplicationsLifecycleStateEnum = map[string]ListReplicationsLifecycleStateEnum{ "CREATING": ListReplicationsLifecycleStateCreating, "ACTIVE": ListReplicationsLifecycleStateActive, + "UPDATING": ListReplicationsLifecycleStateUpdating, "DELETING": ListReplicationsLifecycleStateDeleting, "DELETED": ListReplicationsLifecycleStateDeleted, "FAILED": ListReplicationsLifecycleStateFailed, @@ -173,6 +175,7 @@ var mappingListReplicationsLifecycleStateEnum = map[string]ListReplicationsLifec var mappingListReplicationsLifecycleStateEnumLowerCase = map[string]ListReplicationsLifecycleStateEnum{ "creating": ListReplicationsLifecycleStateCreating, "active": ListReplicationsLifecycleStateActive, + "updating": ListReplicationsLifecycleStateUpdating, "deleting": ListReplicationsLifecycleStateDeleting, "deleted": ListReplicationsLifecycleStateDeleted, "failed": ListReplicationsLifecycleStateFailed, @@ -192,6 +195,7 @@ func GetListReplicationsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/list_snapshots_request_response.go b/filestorage/list_snapshots_request_response.go index c283b2d6ec..1b896654fa 100644 --- a/filestorage/list_snapshots_request_response.go +++ b/filestorage/list_snapshots_request_response.go @@ -144,6 +144,7 @@ type ListSnapshotsLifecycleStateEnum string const ( ListSnapshotsLifecycleStateCreating ListSnapshotsLifecycleStateEnum = "CREATING" ListSnapshotsLifecycleStateActive ListSnapshotsLifecycleStateEnum = "ACTIVE" + ListSnapshotsLifecycleStateUpdating ListSnapshotsLifecycleStateEnum = "UPDATING" ListSnapshotsLifecycleStateDeleting ListSnapshotsLifecycleStateEnum = "DELETING" ListSnapshotsLifecycleStateDeleted ListSnapshotsLifecycleStateEnum = "DELETED" ListSnapshotsLifecycleStateFailed ListSnapshotsLifecycleStateEnum = "FAILED" @@ -152,6 +153,7 @@ const ( var mappingListSnapshotsLifecycleStateEnum = map[string]ListSnapshotsLifecycleStateEnum{ "CREATING": ListSnapshotsLifecycleStateCreating, "ACTIVE": ListSnapshotsLifecycleStateActive, + "UPDATING": ListSnapshotsLifecycleStateUpdating, "DELETING": ListSnapshotsLifecycleStateDeleting, "DELETED": ListSnapshotsLifecycleStateDeleted, "FAILED": ListSnapshotsLifecycleStateFailed, @@ -160,6 +162,7 @@ var mappingListSnapshotsLifecycleStateEnum = map[string]ListSnapshotsLifecycleSt var mappingListSnapshotsLifecycleStateEnumLowerCase = map[string]ListSnapshotsLifecycleStateEnum{ "creating": ListSnapshotsLifecycleStateCreating, "active": ListSnapshotsLifecycleStateActive, + "updating": ListSnapshotsLifecycleStateUpdating, "deleting": ListSnapshotsLifecycleStateDeleting, "deleted": ListSnapshotsLifecycleStateDeleted, "failed": ListSnapshotsLifecycleStateFailed, @@ -179,6 +182,7 @@ func GetListSnapshotsLifecycleStateEnumStringValues() []string { return []string{ "CREATING", "ACTIVE", + "UPDATING", "DELETING", "DELETED", "FAILED", diff --git a/filestorage/snapshot_schedule.go b/filestorage/snapshot_schedule.go index 903e8cd74a..e2daa3da78 100644 --- a/filestorage/snapshot_schedule.go +++ b/filestorage/snapshot_schedule.go @@ -40,20 +40,23 @@ type SnapshotSchedule struct { RetentionDurationInSeconds *int64 `mandatory:"false" json:"retentionDurationInSeconds"` // The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. - // If not set, a value will be chosen at creation time. + // If not set, the system chooses a value at creation time. HourOfDay *int `mandatory:"false" json:"hourOfDay"` // The day of the week to create a scheduled snapshot. // Used for WEEKLY snapshot schedules. + // If not set, the system chooses a value at creation time. DayOfWeek SnapshotScheduleDayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"` // The day of the month to create a scheduled snapshot. // If the day does not exist for the month, snapshot creation will be skipped. // Used for MONTHLY and YEARLY snapshot schedules. + // If not set, the system chooses a value at creation time. DayOfMonth *int `mandatory:"false" json:"dayOfMonth"` // The month to create a scheduled snapshot. // Used only for YEARLY snapshot schedules. + // If not set, the system chooses a value at creation time. Month SnapshotScheduleMonthEnum `mandatory:"false" json:"month,omitempty"` } diff --git a/opsi/action_type.go b/opsi/action_type.go index b13d3ce38f..84dad2355c 100644 --- a/opsi/action_type.go +++ b/opsi/action_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/add_em_managed_external_exadata_insight_members_details.go b/opsi/add_em_managed_external_exadata_insight_members_details.go index d4dc583c3d..7d705e46c1 100644 --- a/opsi/add_em_managed_external_exadata_insight_members_details.go +++ b/opsi/add_em_managed_external_exadata_insight_members_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/add_exadata_insight_members_details.go b/opsi/add_exadata_insight_members_details.go index ea36dc7024..fee9be8f7e 100644 --- a/opsi/add_exadata_insight_members_details.go +++ b/opsi/add_exadata_insight_members_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/add_pe_comanaged_exadata_insight_members_details.go b/opsi/add_pe_comanaged_exadata_insight_members_details.go index 2879749fbe..edc9041322 100644 --- a/opsi/add_pe_comanaged_exadata_insight_members_details.go +++ b/opsi/add_pe_comanaged_exadata_insight_members_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_collection.go b/opsi/addm_db_collection.go index c23e4caa10..309b42bd77 100644 --- a/opsi/addm_db_collection.go +++ b/opsi/addm_db_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_finding_aggregation.go b/opsi/addm_db_finding_aggregation.go index 2a09e27394..3e8c85d472 100644 --- a/opsi/addm_db_finding_aggregation.go +++ b/opsi/addm_db_finding_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_finding_aggregation_collection.go b/opsi/addm_db_finding_aggregation_collection.go index 349e74f513..e8a7e90fff 100644 --- a/opsi/addm_db_finding_aggregation_collection.go +++ b/opsi/addm_db_finding_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_finding_category_collection.go b/opsi/addm_db_finding_category_collection.go index 7834776bad..0613ca9952 100644 --- a/opsi/addm_db_finding_category_collection.go +++ b/opsi/addm_db_finding_category_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_finding_category_summary.go b/opsi/addm_db_finding_category_summary.go index e329dfd8ee..767ef64e4b 100644 --- a/opsi/addm_db_finding_category_summary.go +++ b/opsi/addm_db_finding_category_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_findings_time_series_collection.go b/opsi/addm_db_findings_time_series_collection.go index f9152aa0a9..6b2d685b87 100644 --- a/opsi/addm_db_findings_time_series_collection.go +++ b/opsi/addm_db_findings_time_series_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_findings_time_series_summary.go b/opsi/addm_db_findings_time_series_summary.go index de67c7c370..b7205609f9 100644 --- a/opsi/addm_db_findings_time_series_summary.go +++ b/opsi/addm_db_findings_time_series_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_aggregation.go b/opsi/addm_db_parameter_aggregation.go index 51da4bc4fc..73759f8752 100644 --- a/opsi/addm_db_parameter_aggregation.go +++ b/opsi/addm_db_parameter_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_aggregation_collection.go b/opsi/addm_db_parameter_aggregation_collection.go index 4655354075..3ccaf75102 100644 --- a/opsi/addm_db_parameter_aggregation_collection.go +++ b/opsi/addm_db_parameter_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_category_collection.go b/opsi/addm_db_parameter_category_collection.go index 17bc9c66da..16f2817152 100644 --- a/opsi/addm_db_parameter_category_collection.go +++ b/opsi/addm_db_parameter_category_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_category_summary.go b/opsi/addm_db_parameter_category_summary.go index a0a7f6c1f1..8490065fc0 100644 --- a/opsi/addm_db_parameter_category_summary.go +++ b/opsi/addm_db_parameter_category_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_change_aggregation.go b/opsi/addm_db_parameter_change_aggregation.go index 093db405b1..f7ffe8e675 100644 --- a/opsi/addm_db_parameter_change_aggregation.go +++ b/opsi/addm_db_parameter_change_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_parameter_change_aggregation_collection.go b/opsi/addm_db_parameter_change_aggregation_collection.go index f6cc0b0083..224d3b5cf0 100644 --- a/opsi/addm_db_parameter_change_aggregation_collection.go +++ b/opsi/addm_db_parameter_change_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendation_aggregation.go b/opsi/addm_db_recommendation_aggregation.go index cb608fc1cc..003ddf6e30 100644 --- a/opsi/addm_db_recommendation_aggregation.go +++ b/opsi/addm_db_recommendation_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendation_aggregation_collection.go b/opsi/addm_db_recommendation_aggregation_collection.go index 71dfd10c42..c62dd47e15 100644 --- a/opsi/addm_db_recommendation_aggregation_collection.go +++ b/opsi/addm_db_recommendation_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendation_category_collection.go b/opsi/addm_db_recommendation_category_collection.go index 260fd9ab41..6bbbf05e9e 100644 --- a/opsi/addm_db_recommendation_category_collection.go +++ b/opsi/addm_db_recommendation_category_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendation_category_summary.go b/opsi/addm_db_recommendation_category_summary.go index c8f085c5b3..6860f53232 100644 --- a/opsi/addm_db_recommendation_category_summary.go +++ b/opsi/addm_db_recommendation_category_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendations_time_series_collection.go b/opsi/addm_db_recommendations_time_series_collection.go index 783c649220..ecef4998ba 100644 --- a/opsi/addm_db_recommendations_time_series_collection.go +++ b/opsi/addm_db_recommendations_time_series_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_recommendations_time_series_summary.go b/opsi/addm_db_recommendations_time_series_summary.go index 0aaeeea7a5..5ce5347444 100644 --- a/opsi/addm_db_recommendations_time_series_summary.go +++ b/opsi/addm_db_recommendations_time_series_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_schema_object_collection.go b/opsi/addm_db_schema_object_collection.go index 4f4a95b7df..4cc923fd73 100644 --- a/opsi/addm_db_schema_object_collection.go +++ b/opsi/addm_db_schema_object_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_schema_object_summary.go b/opsi/addm_db_schema_object_summary.go index 71982be609..6bd1b5d425 100644 --- a/opsi/addm_db_schema_object_summary.go +++ b/opsi/addm_db_schema_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_sql_statement_collection.go b/opsi/addm_db_sql_statement_collection.go index d6803482d5..d51d636fda 100644 --- a/opsi/addm_db_sql_statement_collection.go +++ b/opsi/addm_db_sql_statement_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_sql_statement_summary.go b/opsi/addm_db_sql_statement_summary.go index 1b5e0200df..416ec91ca9 100644 --- a/opsi/addm_db_sql_statement_summary.go +++ b/opsi/addm_db_sql_statement_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_db_summary.go b/opsi/addm_db_summary.go index 133637ff3b..8a95261c44 100644 --- a/opsi/addm_db_summary.go +++ b/opsi/addm_db_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/addm_report.go b/opsi/addm_report.go index 0e291056d9..9d21b43aec 100644 --- a/opsi/addm_report.go +++ b/opsi/addm_report.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/archival_state.go b/opsi/archival_state.go index 6570d6be09..a1d125aaaa 100644 --- a/opsi/archival_state.go +++ b/opsi/archival_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/autonomous_database_configuration_summary.go b/opsi/autonomous_database_configuration_summary.go index d69aa2d164..9a26e002fc 100644 --- a/opsi/autonomous_database_configuration_summary.go +++ b/opsi/autonomous_database_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type AutonomousDatabaseConfigurationSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. diff --git a/opsi/autonomous_database_insight.go b/opsi/autonomous_database_insight.go index 0e09edf33a..5365d43032 100644 --- a/opsi/autonomous_database_insight.go +++ b/opsi/autonomous_database_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -47,7 +47,7 @@ type AutonomousDatabaseInsight struct { // OCI database resource type DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/autonomous_database_insight_summary.go b/opsi/autonomous_database_insight_summary.go index bc8561e696..c26fde2def 100644 --- a/opsi/autonomous_database_insight_summary.go +++ b/opsi/autonomous_database_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -36,7 +36,7 @@ type AutonomousDatabaseInsightSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/awr_database_collection.go b/opsi/awr_database_collection.go index ec19730b06..46b20351a7 100644 --- a/opsi/awr_database_collection.go +++ b/opsi/awr_database_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_cpu_usage_collection.go b/opsi/awr_database_cpu_usage_collection.go index 3fd251455d..bd9f90c8a6 100644 --- a/opsi/awr_database_cpu_usage_collection.go +++ b/opsi/awr_database_cpu_usage_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_cpu_usage_summary.go b/opsi/awr_database_cpu_usage_summary.go index 530303088c..3d1fac8a5c 100644 --- a/opsi/awr_database_cpu_usage_summary.go +++ b/opsi/awr_database_cpu_usage_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_metric_collection.go b/opsi/awr_database_metric_collection.go index c415694c88..725420c652 100644 --- a/opsi/awr_database_metric_collection.go +++ b/opsi/awr_database_metric_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_metric_summary.go b/opsi/awr_database_metric_summary.go index 6d1df3d95e..c22cc489cd 100644 --- a/opsi/awr_database_metric_summary.go +++ b/opsi/awr_database_metric_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_parameter_change_collection.go b/opsi/awr_database_parameter_change_collection.go index b0a0c49105..a9d4c71950 100644 --- a/opsi/awr_database_parameter_change_collection.go +++ b/opsi/awr_database_parameter_change_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_parameter_change_summary.go b/opsi/awr_database_parameter_change_summary.go index c2cf50f815..e997e104a3 100644 --- a/opsi/awr_database_parameter_change_summary.go +++ b/opsi/awr_database_parameter_change_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_parameter_collection.go b/opsi/awr_database_parameter_collection.go index 960f40f257..00719a3657 100644 --- a/opsi/awr_database_parameter_collection.go +++ b/opsi/awr_database_parameter_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_parameter_summary.go b/opsi/awr_database_parameter_summary.go index a6ceecf99b..6d00bf282e 100644 --- a/opsi/awr_database_parameter_summary.go +++ b/opsi/awr_database_parameter_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_report.go b/opsi/awr_database_report.go index 975de052ff..50e6a378fe 100644 --- a/opsi/awr_database_report.go +++ b/opsi/awr_database_report.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_snapshot_collection.go b/opsi/awr_database_snapshot_collection.go index 815b4786ab..e6d58e9a9f 100644 --- a/opsi/awr_database_snapshot_collection.go +++ b/opsi/awr_database_snapshot_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_snapshot_range_collection.go b/opsi/awr_database_snapshot_range_collection.go index 4c593d98ed..91450b4a6c 100644 --- a/opsi/awr_database_snapshot_range_collection.go +++ b/opsi/awr_database_snapshot_range_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_snapshot_range_summary.go b/opsi/awr_database_snapshot_range_summary.go index 5acfdeac46..e4933e3e7f 100644 --- a/opsi/awr_database_snapshot_range_summary.go +++ b/opsi/awr_database_snapshot_range_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_snapshot_summary.go b/opsi/awr_database_snapshot_summary.go index 6d9d55bd09..517c141449 100644 --- a/opsi/awr_database_snapshot_summary.go +++ b/opsi/awr_database_snapshot_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_sql_report.go b/opsi/awr_database_sql_report.go index 4d6fd35d20..0a62d08a04 100644 --- a/opsi/awr_database_sql_report.go +++ b/opsi/awr_database_sql_report.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_summary.go b/opsi/awr_database_summary.go index 2ad95a67f8..1c5922f71a 100644 --- a/opsi/awr_database_summary.go +++ b/opsi/awr_database_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_sysstat_collection.go b/opsi/awr_database_sysstat_collection.go index 4dab6809bd..41601125c6 100644 --- a/opsi/awr_database_sysstat_collection.go +++ b/opsi/awr_database_sysstat_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_sysstat_summary.go b/opsi/awr_database_sysstat_summary.go index e0baaf8315..b3e821dc41 100644 --- a/opsi/awr_database_sysstat_summary.go +++ b/opsi/awr_database_sysstat_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_top_wait_event_collection.go b/opsi/awr_database_top_wait_event_collection.go index 676175223e..39e6f7cb6b 100644 --- a/opsi/awr_database_top_wait_event_collection.go +++ b/opsi/awr_database_top_wait_event_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_top_wait_event_summary.go b/opsi/awr_database_top_wait_event_summary.go index 806e331653..f68f7efe4f 100644 --- a/opsi/awr_database_top_wait_event_summary.go +++ b/opsi/awr_database_top_wait_event_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_wait_event_bucket_collection.go b/opsi/awr_database_wait_event_bucket_collection.go index 500a36111b..323700dcac 100644 --- a/opsi/awr_database_wait_event_bucket_collection.go +++ b/opsi/awr_database_wait_event_bucket_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_wait_event_bucket_summary.go b/opsi/awr_database_wait_event_bucket_summary.go index aa857fed1d..330550edcd 100644 --- a/opsi/awr_database_wait_event_bucket_summary.go +++ b/opsi/awr_database_wait_event_bucket_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_wait_event_collection.go b/opsi/awr_database_wait_event_collection.go index 491b437040..0520b66ced 100644 --- a/opsi/awr_database_wait_event_collection.go +++ b/opsi/awr_database_wait_event_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_database_wait_event_summary.go b/opsi/awr_database_wait_event_summary.go index 750bd40da3..5cefaa1fed 100644 --- a/opsi/awr_database_wait_event_summary.go +++ b/opsi/awr_database_wait_event_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub.go b/opsi/awr_hub.go index e96f0975f3..c9dce5281f 100644 --- a/opsi/awr_hub.go +++ b/opsi/awr_hub.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_lifecycle_state.go b/opsi/awr_hub_lifecycle_state.go index 20aa31d571..bfa78677ba 100644 --- a/opsi/awr_hub_lifecycle_state.go +++ b/opsi/awr_hub_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_objects.go b/opsi/awr_hub_objects.go index 1e926284aa..0c6268d1d2 100644 --- a/opsi/awr_hub_objects.go +++ b/opsi/awr_hub_objects.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source.go b/opsi/awr_hub_source.go index a27b1a3df6..f6ea2c856a 100644 --- a/opsi/awr_hub_source.go +++ b/opsi/awr_hub_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source_lifecycle_state.go b/opsi/awr_hub_source_lifecycle_state.go index f0d7593881..457aabdacf 100644 --- a/opsi/awr_hub_source_lifecycle_state.go +++ b/opsi/awr_hub_source_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source_status.go b/opsi/awr_hub_source_status.go index 4fe203b344..3370c7d814 100644 --- a/opsi/awr_hub_source_status.go +++ b/opsi/awr_hub_source_status.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source_summary.go b/opsi/awr_hub_source_summary.go index 2fd7755622..eeb3897987 100644 --- a/opsi/awr_hub_source_summary.go +++ b/opsi/awr_hub_source_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source_summary_collection.go b/opsi/awr_hub_source_summary_collection.go index 2720714b19..72f0671bae 100644 --- a/opsi/awr_hub_source_summary_collection.go +++ b/opsi/awr_hub_source_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_source_type.go b/opsi/awr_hub_source_type.go index ba8e54e350..920aeddaeb 100644 --- a/opsi/awr_hub_source_type.go +++ b/opsi/awr_hub_source_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_sources.go b/opsi/awr_hub_sources.go index bcdd514ffb..5e4a27343f 100644 --- a/opsi/awr_hub_sources.go +++ b/opsi/awr_hub_sources.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_summary.go b/opsi/awr_hub_summary.go index c9400d5bdd..19e0b4f8de 100644 --- a/opsi/awr_hub_summary.go +++ b/opsi/awr_hub_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hub_summary_collection.go b/opsi/awr_hub_summary_collection.go index 646b54ad5a..c9c5463e0b 100644 --- a/opsi/awr_hub_summary_collection.go +++ b/opsi/awr_hub_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_hubs.go b/opsi/awr_hubs.go index 5685cb5f0b..3de945ab28 100644 --- a/opsi/awr_hubs.go +++ b/opsi/awr_hubs.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_query_result.go b/opsi/awr_query_result.go index cfbf4ab792..42720a56f7 100644 --- a/opsi/awr_query_result.go +++ b/opsi/awr_query_result.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_report.go b/opsi/awr_report.go index 96a34fb0bd..db1e68130a 100644 --- a/opsi/awr_report.go +++ b/opsi/awr_report.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_report_format_type.go b/opsi/awr_report_format_type.go index 95b65d6aad..ab49f401da 100644 --- a/opsi/awr_report_format_type.go +++ b/opsi/awr_report_format_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_snapshot_collection.go b/opsi/awr_snapshot_collection.go index b804e306ed..00af293ed3 100644 --- a/opsi/awr_snapshot_collection.go +++ b/opsi/awr_snapshot_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_snapshot_summary.go b/opsi/awr_snapshot_summary.go index 26d7e24111..6eb2318c6a 100644 --- a/opsi/awr_snapshot_summary.go +++ b/opsi/awr_snapshot_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/awr_source_summary.go b/opsi/awr_source_summary.go index 3cfecb9e4f..706ee55c67 100644 --- a/opsi/awr_source_summary.go +++ b/opsi/awr_source_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/basic_configuration_item_metadata.go b/opsi/basic_configuration_item_metadata.go index fb73e5258a..e4c523c113 100644 --- a/opsi/basic_configuration_item_metadata.go +++ b/opsi/basic_configuration_item_metadata.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/basic_configuration_item_summary.go b/opsi/basic_configuration_item_summary.go index 925701544d..60d196ac96 100644 --- a/opsi/basic_configuration_item_summary.go +++ b/opsi/basic_configuration_item_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -20,7 +20,7 @@ import ( // BasicConfigurationItemSummary Basic configuration item summary. // Value field contain the most preferred value for the specified scope (compartmentId), which could be from any of the ConfigurationItemValueSourceConfigurationType. -// Default value field contains the default value from Operations Insights. +// Default value field contains the default value from Ops Insights. type BasicConfigurationItemSummary struct { // Name of configuration item. @@ -32,7 +32,7 @@ type BasicConfigurationItemSummary struct { // Value of configuration item. DefaultValue *string `mandatory:"false" json:"defaultValue"` - // List of contexts in Operations Insights where this configuration item is applicable. + // List of contexts in Ops Insights where this configuration item is applicable. ApplicableContexts []string `mandatory:"false" json:"applicableContexts"` Metadata ConfigurationItemMetadata `mandatory:"false" json:"metadata"` diff --git a/opsi/change_autonomous_database_insight_advanced_features_details.go b/opsi/change_autonomous_database_insight_advanced_features_details.go index cbde7bd310..e575704ec7 100644 --- a/opsi/change_autonomous_database_insight_advanced_features_details.go +++ b/opsi/change_autonomous_database_insight_advanced_features_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_awr_hub_source_compartment_details.go b/opsi/change_awr_hub_source_compartment_details.go index 7050f8666a..2aef5594d8 100644 --- a/opsi/change_awr_hub_source_compartment_details.go +++ b/opsi/change_awr_hub_source_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_database_insight_compartment_details.go b/opsi/change_database_insight_compartment_details.go index 45c8ecc2fa..85fc99ca40 100644 --- a/opsi/change_database_insight_compartment_details.go +++ b/opsi/change_database_insight_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_enterprise_manager_bridge_compartment_details.go b/opsi/change_enterprise_manager_bridge_compartment_details.go index ace74a3a3e..3da528c801 100644 --- a/opsi/change_enterprise_manager_bridge_compartment_details.go +++ b/opsi/change_enterprise_manager_bridge_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_exadata_insight_compartment_details.go b/opsi/change_exadata_insight_compartment_details.go index 72f189c4e7..12e33a6dcd 100644 --- a/opsi/change_exadata_insight_compartment_details.go +++ b/opsi/change_exadata_insight_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_host_insight_compartment_details.go b/opsi/change_host_insight_compartment_details.go index 350a6aff2b..2bb39464ea 100644 --- a/opsi/change_host_insight_compartment_details.go +++ b/opsi/change_host_insight_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_news_report_compartment_details.go b/opsi/change_news_report_compartment_details.go index 8290ada5bb..6dcf0812bb 100644 --- a/opsi/change_news_report_compartment_details.go +++ b/opsi/change_news_report_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_operations_insights_private_endpoint_compartment_details.go b/opsi/change_operations_insights_private_endpoint_compartment_details.go index ddc30d31e4..e92b1eac51 100644 --- a/opsi/change_operations_insights_private_endpoint_compartment_details.go +++ b/opsi/change_operations_insights_private_endpoint_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_operations_insights_warehouse_compartment_details.go b/opsi/change_operations_insights_warehouse_compartment_details.go index 7c377ae325..db856a9067 100644 --- a/opsi/change_operations_insights_warehouse_compartment_details.go +++ b/opsi/change_operations_insights_warehouse_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_operations_insights_warehouse_compartment_request_response.go b/opsi/change_operations_insights_warehouse_compartment_request_response.go index 1c4d32e2f8..dd2eae543a 100644 --- a/opsi/change_operations_insights_warehouse_compartment_request_response.go +++ b/opsi/change_operations_insights_warehouse_compartment_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOperationsInsightsWarehouseCompartment.go.html to see an example of how to use ChangeOperationsInsightsWarehouseCompartmentRequest. type ChangeOperationsInsightsWarehouseCompartmentRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // The information to be updated. diff --git a/opsi/change_opsi_configuration_compartment_details.go b/opsi/change_opsi_configuration_compartment_details.go index a7e7fcf4ab..577bc3266c 100644 --- a/opsi/change_opsi_configuration_compartment_details.go +++ b/opsi/change_opsi_configuration_compartment_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/change_pe_comanaged_database_insight_details.go b/opsi/change_pe_comanaged_database_insight_details.go index 043fbd1d2a..fea0861fb0 100644 --- a/opsi/change_pe_comanaged_database_insight_details.go +++ b/opsi/change_pe_comanaged_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/cloud_importable_compute_entity_summary.go b/opsi/cloud_importable_compute_entity_summary.go index 21b8028452..6fb3527f8a 100644 --- a/opsi/cloud_importable_compute_entity_summary.go +++ b/opsi/cloud_importable_compute_entity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_allowed_value_details.go b/opsi/configuration_item_allowed_value_details.go index d74796970f..d7d7f1ce55 100644 --- a/opsi/configuration_item_allowed_value_details.go +++ b/opsi/configuration_item_allowed_value_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_allowed_value_type.go b/opsi/configuration_item_allowed_value_type.go index d5a20bb097..d90b849326 100644 --- a/opsi/configuration_item_allowed_value_type.go +++ b/opsi/configuration_item_allowed_value_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_free_text_allowed_value_details.go b/opsi/configuration_item_free_text_allowed_value_details.go index bd3857338d..32785f7a93 100644 --- a/opsi/configuration_item_free_text_allowed_value_details.go +++ b/opsi/configuration_item_free_text_allowed_value_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_limit_allowed_value_details.go b/opsi/configuration_item_limit_allowed_value_details.go index ad7181caf4..b6d239e964 100644 --- a/opsi/configuration_item_limit_allowed_value_details.go +++ b/opsi/configuration_item_limit_allowed_value_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_metadata.go b/opsi/configuration_item_metadata.go index 8e1eb39f29..2aefdc72a6 100644 --- a/opsi/configuration_item_metadata.go +++ b/opsi/configuration_item_metadata.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_pick_allowed_value_details.go b/opsi/configuration_item_pick_allowed_value_details.go index e4080635d0..ebf4244c92 100644 --- a/opsi/configuration_item_pick_allowed_value_details.go +++ b/opsi/configuration_item_pick_allowed_value_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_summary.go b/opsi/configuration_item_summary.go index 28857f043f..f105791d4f 100644 --- a/opsi/configuration_item_summary.go +++ b/opsi/configuration_item_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_type.go b/opsi/configuration_item_type.go index 3a305160f1..1d30646744 100644 --- a/opsi/configuration_item_type.go +++ b/opsi/configuration_item_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_unit_details.go b/opsi/configuration_item_unit_details.go index 8dc7546036..9fbc8b3626 100644 --- a/opsi/configuration_item_unit_details.go +++ b/opsi/configuration_item_unit_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_item_value_source_configuration_type.go b/opsi/configuration_item_value_source_configuration_type.go index 1f2d76b189..90b8beefd9 100644 --- a/opsi/configuration_item_value_source_configuration_type.go +++ b/opsi/configuration_item_value_source_configuration_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/configuration_items_collection.go b/opsi/configuration_items_collection.go index 78524e6d6c..5791557e87 100644 --- a/opsi/configuration_items_collection.go +++ b/opsi/configuration_items_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/connection_details.go b/opsi/connection_details.go index 77851f8ff3..8ba622dd1d 100644 --- a/opsi/connection_details.go +++ b/opsi/connection_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_awr_hub_details.go b/opsi/create_awr_hub_details.go index 156dae964b..10a90ab635 100644 --- a/opsi/create_awr_hub_details.go +++ b/opsi/create_awr_hub_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_awr_hub_source_details.go b/opsi/create_awr_hub_source_details.go index aa9a005ec8..ca7c93632a 100644 --- a/opsi/create_awr_hub_source_details.go +++ b/opsi/create_awr_hub_source_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_basic_configuration_item_details.go b/opsi/create_basic_configuration_item_details.go index 348041b22d..6a28dab7d3 100644 --- a/opsi/create_basic_configuration_item_details.go +++ b/opsi/create_basic_configuration_item_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_configuration_item_details.go b/opsi/create_configuration_item_details.go index 2f0d507caa..c490e7ef58 100644 --- a/opsi/create_configuration_item_details.go +++ b/opsi/create_configuration_item_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_database_insight_details.go b/opsi/create_database_insight_details.go index 514b89f89e..ca5b29da8b 100644 --- a/opsi/create_database_insight_details.go +++ b/opsi/create_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_em_managed_external_database_insight_details.go b/opsi/create_em_managed_external_database_insight_details.go index 250e287347..025a088579 100644 --- a/opsi/create_em_managed_external_database_insight_details.go +++ b/opsi/create_em_managed_external_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_em_managed_external_exadata_insight_details.go b/opsi/create_em_managed_external_exadata_insight_details.go index 560b527a3b..63211770a8 100644 --- a/opsi/create_em_managed_external_exadata_insight_details.go +++ b/opsi/create_em_managed_external_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_em_managed_external_exadata_member_entity_details.go b/opsi/create_em_managed_external_exadata_member_entity_details.go index f0f39301da..8d5ef1d65b 100644 --- a/opsi/create_em_managed_external_exadata_member_entity_details.go +++ b/opsi/create_em_managed_external_exadata_member_entity_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_em_managed_external_host_insight_details.go b/opsi/create_em_managed_external_host_insight_details.go index 390909845b..c42fe63d5c 100644 --- a/opsi/create_em_managed_external_host_insight_details.go +++ b/opsi/create_em_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_enterprise_manager_bridge_details.go b/opsi/create_enterprise_manager_bridge_details.go index a67553df43..557910ebae 100644 --- a/opsi/create_enterprise_manager_bridge_details.go +++ b/opsi/create_enterprise_manager_bridge_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_exadata_insight_details.go b/opsi/create_exadata_insight_details.go index 7858a0f9f4..16097ee228 100644 --- a/opsi/create_exadata_insight_details.go +++ b/opsi/create_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_host_insight_details.go b/opsi/create_host_insight_details.go index 31457b5e0a..88422e2967 100644 --- a/opsi/create_host_insight_details.go +++ b/opsi/create_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_host_insight_request_response.go b/opsi/create_host_insight_request_response.go index b35c226a1e..aeab92d3fb 100644 --- a/opsi/create_host_insight_request_response.go +++ b/opsi/create_host_insight_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsightRequest. type CreateHostInsightRequest struct { - // Details for the host for which a Host Insight resource will be created in Operations Insights. + // Details for the host for which a Host Insight resource will be created in Ops Insights. CreateHostInsightDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or diff --git a/opsi/create_macs_managed_cloud_host_insight_details.go b/opsi/create_macs_managed_cloud_host_insight_details.go index d1d02b5e24..a2011c59f8 100644 --- a/opsi/create_macs_managed_cloud_host_insight_details.go +++ b/opsi/create_macs_managed_cloud_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_macs_managed_external_host_insight_details.go b/opsi/create_macs_managed_external_host_insight_details.go index fa36166719..e51ef8d113 100644 --- a/opsi/create_macs_managed_external_host_insight_details.go +++ b/opsi/create_macs_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_news_report_details.go b/opsi/create_news_report_details.go index edfd251b9b..55a1f5ffc0 100644 --- a/opsi/create_news_report_details.go +++ b/opsi/create_news_report_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_news_report_request_response.go b/opsi/create_news_report_request_response.go index 6418a56291..fca13e8290 100644 --- a/opsi/create_news_report_request_response.go +++ b/opsi/create_news_report_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateNewsReport.go.html to see an example of how to use CreateNewsReportRequest. type CreateNewsReportRequest struct { - // Details for the news report that will be created in Operations Insights. + // Details for the news report that will be created in Ops Insights. CreateNewsReportDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or diff --git a/opsi/create_operations_insights_private_endpoint_details.go b/opsi/create_operations_insights_private_endpoint_details.go index fe36b64488..25357b5965 100644 --- a/opsi/create_operations_insights_private_endpoint_details.go +++ b/opsi/create_operations_insights_private_endpoint_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -32,7 +32,8 @@ type CreateOperationsInsightsPrivateEndpointDetails struct { // The Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database. SubnetId *string `mandatory:"true" json:"subnetId"` - // The flag to identify if private endpoint is used for rac database or not + // This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a + // DNS proxy causing `isProxyEnabled` flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases. IsUsedForRacDbs *bool `mandatory:"true" json:"isUsedForRacDbs"` // The description of the private endpoint. diff --git a/opsi/create_operations_insights_warehouse_details.go b/opsi/create_operations_insights_warehouse_details.go index 9452ac80ee..958d6c59d6 100644 --- a/opsi/create_operations_insights_warehouse_details.go +++ b/opsi/create_operations_insights_warehouse_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -23,7 +23,7 @@ type CreateOperationsInsightsWarehouseDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // User-friedly name of Operations Insights Warehouse that does not have to be unique. + // User-friedly name of Ops Insights Warehouse that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Number of OCPUs allocated to OPSI Warehouse ADW. diff --git a/opsi/create_operations_insights_warehouse_request_response.go b/opsi/create_operations_insights_warehouse_request_response.go index 71dad1630e..51370f7393 100644 --- a/opsi/create_operations_insights_warehouse_request_response.go +++ b/opsi/create_operations_insights_warehouse_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsWarehouse.go.html to see an example of how to use CreateOperationsInsightsWarehouseRequest. type CreateOperationsInsightsWarehouseRequest struct { - // Details using which an Operations Insights Warehouse resource will be created in Operations Insights. + // Details using which an Ops Insights Warehouse resource will be created in Ops Insights. CreateOperationsInsightsWarehouseDetails `contributesTo:"body"` // A token that uniquely identifies a request that can be retried in case of a timeout or diff --git a/opsi/create_operations_insights_warehouse_user_details.go b/opsi/create_operations_insights_warehouse_user_details.go index 9c570522a0..e30aa273e5 100644 --- a/opsi/create_operations_insights_warehouse_user_details.go +++ b/opsi/create_operations_insights_warehouse_user_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -26,10 +26,10 @@ type CreateOperationsInsightsWarehouseUserDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. Name *string `mandatory:"true" json:"name"` - // User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. ConnectionPassword *string `mandatory:"true" json:"connectionPassword"` // Indicate whether user has access to AWR data. diff --git a/opsi/create_opsi_configuration_details.go b/opsi/create_opsi_configuration_details.go index f1e3223043..1dca7ea87c 100644 --- a/opsi/create_opsi_configuration_details.go +++ b/opsi/create_opsi_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_opsi_ux_configuration_details.go b/opsi/create_opsi_ux_configuration_details.go index 7913e0ea5e..39b11b9ddc 100644 --- a/opsi/create_opsi_ux_configuration_details.go +++ b/opsi/create_opsi_ux_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_pe_comanaged_database_insight_details.go b/opsi/create_pe_comanaged_database_insight_details.go index 55d1158d73..2f2de8f9a6 100644 --- a/opsi/create_pe_comanaged_database_insight_details.go +++ b/opsi/create_pe_comanaged_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_pe_comanaged_exadata_insight_details.go b/opsi/create_pe_comanaged_exadata_insight_details.go index ebb4298850..2d59e6a578 100644 --- a/opsi/create_pe_comanaged_exadata_insight_details.go +++ b/opsi/create_pe_comanaged_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/create_pe_comanaged_exadata_vmcluster_details.go b/opsi/create_pe_comanaged_exadata_vmcluster_details.go index aaa4952f9d..30a9293100 100644 --- a/opsi/create_pe_comanaged_exadata_vmcluster_details.go +++ b/opsi/create_pe_comanaged_exadata_vmcluster_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/credential_by_vault.go b/opsi/credential_by_vault.go index 0bdfd8378e..bd683cb5f2 100644 --- a/opsi/credential_by_vault.go +++ b/opsi/credential_by_vault.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/credential_details.go b/opsi/credential_details.go index 36ef171c20..8a35631af1 100644 --- a/opsi/credential_details.go +++ b/opsi/credential_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -18,7 +18,7 @@ import ( "strings" ) -// CredentialDetails User credential details to connect to the database. This is supplied via the External Database Service. +// CredentialDetails User credential details to connect to the database. type CredentialDetails interface { // Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service. diff --git a/opsi/credentials_by_source.go b/opsi/credentials_by_source.go index 219a74af4e..e305ff139f 100644 --- a/opsi/credentials_by_source.go +++ b/opsi/credentials_by_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_bind_parameter.go b/opsi/data_object_bind_parameter.go index 2ca6989756..42e532440c 100644 --- a/opsi/data_object_bind_parameter.go +++ b/opsi/data_object_bind_parameter.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_column_metadata.go b/opsi/data_object_column_metadata.go index 5d5760b905..9f3ae5a75e 100644 --- a/opsi/data_object_column_metadata.go +++ b/opsi/data_object_column_metadata.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_column_unit.go b/opsi/data_object_column_unit.go index 99535a5184..8f515d67f5 100644 --- a/opsi/data_object_column_unit.go +++ b/opsi/data_object_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_core_column_unit.go b/opsi/data_object_core_column_unit.go index 334301b25c..7c7089e7bb 100644 --- a/opsi/data_object_core_column_unit.go +++ b/opsi/data_object_core_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_custom_column_unit.go b/opsi/data_object_custom_column_unit.go index 47b004b344..d4a40abcbe 100644 --- a/opsi/data_object_custom_column_unit.go +++ b/opsi/data_object_custom_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_data_size_column_unit.go b/opsi/data_object_data_size_column_unit.go index e62a3519ea..5f272762e8 100644 --- a/opsi/data_object_data_size_column_unit.go +++ b/opsi/data_object_data_size_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_frequency_column_unit.go b/opsi/data_object_frequency_column_unit.go index 6532dacef7..5687691154 100644 --- a/opsi/data_object_frequency_column_unit.go +++ b/opsi/data_object_frequency_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_other_standard_column_unit.go b/opsi/data_object_other_standard_column_unit.go index 3f2009a1cb..49a68d88ab 100644 --- a/opsi/data_object_other_standard_column_unit.go +++ b/opsi/data_object_other_standard_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_power_column_unit.go b/opsi/data_object_power_column_unit.go index f1fcdfa770..4fdd38c956 100644 --- a/opsi/data_object_power_column_unit.go +++ b/opsi/data_object_power_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_query.go b/opsi/data_object_query.go index cddabe9ab4..b00e3a0884 100644 --- a/opsi/data_object_query.go +++ b/opsi/data_object_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_query_time_filters.go b/opsi/data_object_query_time_filters.go index f944107dac..f3ad5953ea 100644 --- a/opsi/data_object_query_time_filters.go +++ b/opsi/data_object_query_time_filters.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_rate_column_unit.go b/opsi/data_object_rate_column_unit.go index 678ff08896..01bb2b7f03 100644 --- a/opsi/data_object_rate_column_unit.go +++ b/opsi/data_object_rate_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_standard_query.go b/opsi/data_object_standard_query.go index 0659f72054..1412f8619b 100644 --- a/opsi/data_object_standard_query.go +++ b/opsi/data_object_standard_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_temperature_column_unit.go b/opsi/data_object_temperature_column_unit.go index f8d766b2b6..ce657e71dd 100644 --- a/opsi/data_object_temperature_column_unit.go +++ b/opsi/data_object_temperature_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_templatized_query.go b/opsi/data_object_templatized_query.go index 3e0f8704b8..85480eab6c 100644 --- a/opsi/data_object_templatized_query.go +++ b/opsi/data_object_templatized_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_time_column_unit.go b/opsi/data_object_time_column_unit.go index aae12b647b..47dd800fe7 100644 --- a/opsi/data_object_time_column_unit.go +++ b/opsi/data_object_time_column_unit.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/data_object_type.go b/opsi/data_object_type.go index 678a2c3b2a..5d77b07468 100644 --- a/opsi/data_object_type.go +++ b/opsi/data_object_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database.go b/opsi/database.go index fe059de746..89c8da0683 100644 --- a/opsi/database.go +++ b/opsi/database.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_configuration_collection.go b/opsi/database_configuration_collection.go index e4b5a12caf..954b2481dc 100644 --- a/opsi/database_configuration_collection.go +++ b/opsi/database_configuration_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_configuration_metric_group.go b/opsi/database_configuration_metric_group.go index 7226115e60..56c0fc2347 100644 --- a/opsi/database_configuration_metric_group.go +++ b/opsi/database_configuration_metric_group.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_configuration_summary.go b/opsi/database_configuration_summary.go index 6011f7a2a7..f58aa02306 100644 --- a/opsi/database_configuration_summary.go +++ b/opsi/database_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type DatabaseConfigurationSummary interface { // The user-friendly name for the database. The name does not have to be unique. GetDatabaseDisplayName() *string - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. diff --git a/opsi/database_details.go b/opsi/database_details.go index 70da87b35a..e684d9f7ff 100644 --- a/opsi/database_details.go +++ b/opsi/database_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -32,7 +32,7 @@ type DatabaseDetails struct { // The database name. The database name is unique within the tenancy. DatabaseName *string `mandatory:"true" json:"databaseName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The user-friendly name for the database. The name does not have to be unique. diff --git a/opsi/database_entity_source.go b/opsi/database_entity_source.go index 2ae292443d..2779a04919 100644 --- a/opsi/database_entity_source.go +++ b/opsi/database_entity_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_entity_source_all.go b/opsi/database_entity_source_all.go index fdb8360ce8..98bdad61df 100644 --- a/opsi/database_entity_source_all.go +++ b/opsi/database_entity_source_all.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_insight.go b/opsi/database_insight.go index b4af93209f..3e76c2dfd7 100644 --- a/opsi/database_insight.go +++ b/opsi/database_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -44,7 +44,7 @@ type DatabaseInsight interface { // The current state of the database. GetLifecycleState() LifecycleStateEnum - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. diff --git a/opsi/database_insight_summary.go b/opsi/database_insight_summary.go index 0e970f358a..dc134666be 100644 --- a/opsi/database_insight_summary.go +++ b/opsi/database_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -36,7 +36,7 @@ type DatabaseInsightSummary interface { // The user-friendly name for the database. The name does not have to be unique. GetDatabaseDisplayName() *string - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. GetDatabaseType() *string // The version of the database. diff --git a/opsi/database_insights.go b/opsi/database_insights.go index 4f378d068c..6f5d74328b 100644 --- a/opsi/database_insights.go +++ b/opsi/database_insights.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_insights_collection.go b/opsi/database_insights_collection.go index 287f1b9fb6..4bef79498d 100644 --- a/opsi/database_insights_collection.go +++ b/opsi/database_insights_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_insights_data_object.go b/opsi/database_insights_data_object.go index 357a151f43..94ffd33b01 100644 --- a/opsi/database_insights_data_object.go +++ b/opsi/database_insights_data_object.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_insights_data_object_summary.go b/opsi/database_insights_data_object_summary.go index 96aeb56ba4..1267750336 100644 --- a/opsi/database_insights_data_object_summary.go +++ b/opsi/database_insights_data_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/database_parameter_type_details.go b/opsi/database_parameter_type_details.go index 08d083b2ee..806ef06d0c 100644 --- a/opsi/database_parameter_type_details.go +++ b/opsi/database_parameter_type_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/day_of_week.go b/opsi/day_of_week.go index 5fc954f55c..9f62bb6606 100644 --- a/opsi/day_of_week.go +++ b/opsi/day_of_week.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/db_external_instance.go b/opsi/db_external_instance.go index 64546a50fb..95f211cc9b 100644 --- a/opsi/db_external_instance.go +++ b/opsi/db_external_instance.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/db_external_properties.go b/opsi/db_external_properties.go index 0cf3304391..fe4e0d25c9 100644 --- a/opsi/db_external_properties.go +++ b/opsi/db_external_properties.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/db_parameters.go b/opsi/db_parameters.go index 5c2e4672bc..ceb76a485e 100644 --- a/opsi/db_parameters.go +++ b/opsi/db_parameters.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/dbos_config_instance.go b/opsi/dbos_config_instance.go index eae1d053e7..8c68739056 100644 --- a/opsi/dbos_config_instance.go +++ b/opsi/dbos_config_instance.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/delete_operations_insights_warehouse_request_response.go b/opsi/delete_operations_insights_warehouse_request_response.go index e6f2a9249d..de59a60eed 100644 --- a/opsi/delete_operations_insights_warehouse_request_response.go +++ b/opsi/delete_operations_insights_warehouse_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsWarehouse.go.html to see an example of how to use DeleteOperationsInsightsWarehouseRequest. type DeleteOperationsInsightsWarehouseRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match` diff --git a/opsi/disk_group.go b/opsi/disk_group.go index 47b1d6c33e..2b1999091a 100644 --- a/opsi/disk_group.go +++ b/opsi/disk_group.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/disk_group_details.go b/opsi/disk_group_details.go index 1dc64e1782..e87987cada 100644 --- a/opsi/disk_group_details.go +++ b/opsi/disk_group_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/disk_statistics.go b/opsi/disk_statistics.go index 467fd75493..9285972e55 100644 --- a/opsi/disk_statistics.go +++ b/opsi/disk_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/download_operations_insights_warehouse_wallet_details.go b/opsi/download_operations_insights_warehouse_wallet_details.go index 548e4d4c25..e2920e56af 100644 --- a/opsi/download_operations_insights_warehouse_wallet_details.go +++ b/opsi/download_operations_insights_warehouse_wallet_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -20,7 +20,7 @@ import ( // DownloadOperationsInsightsWarehouseWalletDetails Download Wallet details. type DownloadOperationsInsightsWarehouseWalletDetails struct { - // User provided ADW wallet password for the Operations Insights Warehouse. + // User provided ADW wallet password for the Ops Insights Warehouse. OperationsInsightsWarehouseWalletPassword *string `mandatory:"true" json:"operationsInsightsWarehouseWalletPassword"` } diff --git a/opsi/download_operations_insights_warehouse_wallet_request_response.go b/opsi/download_operations_insights_warehouse_wallet_request_response.go index 9a4b4996c6..ab4c828c20 100644 --- a/opsi/download_operations_insights_warehouse_wallet_request_response.go +++ b/opsi/download_operations_insights_warehouse_wallet_request_response.go @@ -19,7 +19,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DownloadOperationsInsightsWarehouseWallet.go.html to see an example of how to use DownloadOperationsInsightsWarehouseWalletRequest. type DownloadOperationsInsightsWarehouseWalletRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // The information to be updated. diff --git a/opsi/em_managed_external_database_configuration_summary.go b/opsi/em_managed_external_database_configuration_summary.go index a19b4e73be..1c566105bc 100644 --- a/opsi/em_managed_external_database_configuration_summary.go +++ b/opsi/em_managed_external_database_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type EmManagedExternalDatabaseConfigurationSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. diff --git a/opsi/em_managed_external_database_insight.go b/opsi/em_managed_external_database_insight.go index f6d50a4f6a..507741194f 100644 --- a/opsi/em_managed_external_database_insight.go +++ b/opsi/em_managed_external_database_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -53,7 +53,7 @@ type EmManagedExternalDatabaseInsight struct { // OPSI Enterprise Manager Bridge OCID EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/em_managed_external_database_insight_summary.go b/opsi/em_managed_external_database_insight_summary.go index 8877fd7ef7..55b4cacfd8 100644 --- a/opsi/em_managed_external_database_insight_summary.go +++ b/opsi/em_managed_external_database_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -51,7 +51,7 @@ type EmManagedExternalDatabaseInsightSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/em_managed_external_exadata_insight.go b/opsi/em_managed_external_exadata_insight.go index 09edf24c4f..5baada5b13 100644 --- a/opsi/em_managed_external_exadata_insight.go +++ b/opsi/em_managed_external_exadata_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/em_managed_external_exadata_insight_summary.go b/opsi/em_managed_external_exadata_insight_summary.go index 4035e99207..f3c445c436 100644 --- a/opsi/em_managed_external_exadata_insight_summary.go +++ b/opsi/em_managed_external_exadata_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/em_managed_external_host_configuration_summary.go b/opsi/em_managed_external_host_configuration_summary.go index ff2a01e9b9..44c443f471 100644 --- a/opsi/em_managed_external_host_configuration_summary.go +++ b/opsi/em_managed_external_host_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/em_managed_external_host_insight.go b/opsi/em_managed_external_host_insight.go index 9d8ed5f390..7a615d9599 100644 --- a/opsi/em_managed_external_host_insight.go +++ b/opsi/em_managed_external_host_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -59,7 +59,7 @@ type EmManagedExternalHostInsight struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. diff --git a/opsi/em_managed_external_host_insight_summary.go b/opsi/em_managed_external_host_insight_summary.go index 95cccbdccf..0f0e5ef239 100644 --- a/opsi/em_managed_external_host_insight_summary.go +++ b/opsi/em_managed_external_host_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -48,7 +48,7 @@ type EmManagedExternalHostInsightSummary struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. @@ -90,7 +90,7 @@ type EmManagedExternalHostInsightSummary struct { // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX]. PlatformType EmManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` - // Indicates the status of a host insight in Operations Insights + // Indicates the status of a host insight in Ops Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the host. diff --git a/opsi/enable_autonomous_database_insight_advanced_features_details.go b/opsi/enable_autonomous_database_insight_advanced_features_details.go index de91a13119..bcb3e076eb 100644 --- a/opsi/enable_autonomous_database_insight_advanced_features_details.go +++ b/opsi/enable_autonomous_database_insight_advanced_features_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_database_insight_details.go b/opsi/enable_database_insight_details.go index 3a6e54d692..68d36aee4e 100644 --- a/opsi/enable_database_insight_details.go +++ b/opsi/enable_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_em_managed_external_database_insight_details.go b/opsi/enable_em_managed_external_database_insight_details.go index c9b7a84c04..fbea3d4e96 100644 --- a/opsi/enable_em_managed_external_database_insight_details.go +++ b/opsi/enable_em_managed_external_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_em_managed_external_exadata_insight_details.go b/opsi/enable_em_managed_external_exadata_insight_details.go index c800ed08fc..c11bc43752 100644 --- a/opsi/enable_em_managed_external_exadata_insight_details.go +++ b/opsi/enable_em_managed_external_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_em_managed_external_host_insight_details.go b/opsi/enable_em_managed_external_host_insight_details.go index ad589f134e..07258fb6b8 100644 --- a/opsi/enable_em_managed_external_host_insight_details.go +++ b/opsi/enable_em_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_exadata_insight_details.go b/opsi/enable_exadata_insight_details.go index 9609388f7d..49b6e2afbd 100644 --- a/opsi/enable_exadata_insight_details.go +++ b/opsi/enable_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_host_insight_details.go b/opsi/enable_host_insight_details.go index d8dc8cfc8e..01404048f9 100644 --- a/opsi/enable_host_insight_details.go +++ b/opsi/enable_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_host_insight_request_response.go b/opsi/enable_host_insight_request_response.go index 19eb2f177d..f34a5bcd10 100644 --- a/opsi/enable_host_insight_request_response.go +++ b/opsi/enable_host_insight_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsightRequest. type EnableHostInsightRequest struct { - // Details for the host to be enabled in Operations Insights. + // Details for the host to be enabled in Ops Insights. EnableHostInsightDetails `contributesTo:"body"` // Unique host insight identifier diff --git a/opsi/enable_macs_managed_cloud_host_insight_details.go b/opsi/enable_macs_managed_cloud_host_insight_details.go index 5e9e04b482..b79cfe4217 100644 --- a/opsi/enable_macs_managed_cloud_host_insight_details.go +++ b/opsi/enable_macs_managed_cloud_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_macs_managed_external_host_insight_details.go b/opsi/enable_macs_managed_external_host_insight_details.go index bee34e3c47..b1dc815d18 100644 --- a/opsi/enable_macs_managed_external_host_insight_details.go +++ b/opsi/enable_macs_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_pe_comanaged_database_insight_details.go b/opsi/enable_pe_comanaged_database_insight_details.go index 8b5cfe291d..b1519571f5 100644 --- a/opsi/enable_pe_comanaged_database_insight_details.go +++ b/opsi/enable_pe_comanaged_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enable_pe_comanaged_exadata_insight_details.go b/opsi/enable_pe_comanaged_exadata_insight_details.go index 4d0ba05377..549b5f96b6 100644 --- a/opsi/enable_pe_comanaged_exadata_insight_details.go +++ b/opsi/enable_pe_comanaged_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enterprise_manager_bridge.go b/opsi/enterprise_manager_bridge.go index 5564f85486..781349c0ee 100644 --- a/opsi/enterprise_manager_bridge.go +++ b/opsi/enterprise_manager_bridge.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enterprise_manager_bridge_collection.go b/opsi/enterprise_manager_bridge_collection.go index 19ad826529..d68dc4180a 100644 --- a/opsi/enterprise_manager_bridge_collection.go +++ b/opsi/enterprise_manager_bridge_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enterprise_manager_bridge_summary.go b/opsi/enterprise_manager_bridge_summary.go index bf52a11789..370a099804 100644 --- a/opsi/enterprise_manager_bridge_summary.go +++ b/opsi/enterprise_manager_bridge_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/enterprise_manager_bridges.go b/opsi/enterprise_manager_bridges.go index 11bfebab4a..5b5e31415b 100644 --- a/opsi/enterprise_manager_bridges.go +++ b/opsi/enterprise_manager_bridges.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -17,7 +17,7 @@ import ( "strings" ) -// EnterpriseManagerBridges Logical grouping used for Operations Insights Enterprise Manager Bridge operations. +// EnterpriseManagerBridges Logical grouping used for Ops Insights Enterprise Manager Bridge operations. type EnterpriseManagerBridges struct { // Enterprise Manager Bridge Object. diff --git a/opsi/exadata_configuration_collection.go b/opsi/exadata_configuration_collection.go index db446e2fe4..3d28916fe8 100644 --- a/opsi/exadata_configuration_collection.go +++ b/opsi/exadata_configuration_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_configuration_summary.go b/opsi/exadata_configuration_summary.go index 10dab91c7e..f691096d3c 100644 --- a/opsi/exadata_configuration_summary.go +++ b/opsi/exadata_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_database_machine_configuration_summary.go b/opsi/exadata_database_machine_configuration_summary.go index 7747bda03f..c3a2f89c66 100644 --- a/opsi/exadata_database_machine_configuration_summary.go +++ b/opsi/exadata_database_machine_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_database_statistics_summary.go b/opsi/exadata_database_statistics_summary.go index 915a175510..310f9fa830 100644 --- a/opsi/exadata_database_statistics_summary.go +++ b/opsi/exadata_database_statistics_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_details.go b/opsi/exadata_details.go index 9902d6cb12..c2c586a685 100644 --- a/opsi/exadata_details.go +++ b/opsi/exadata_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_diskgroup_statistics_summary.go b/opsi/exadata_diskgroup_statistics_summary.go index 7290391894..5e86c63347 100644 --- a/opsi/exadata_diskgroup_statistics_summary.go +++ b/opsi/exadata_diskgroup_statistics_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_entity_source.go b/opsi/exadata_entity_source.go index e0aeecba6f..36c4a990c8 100644 --- a/opsi/exadata_entity_source.go +++ b/opsi/exadata_entity_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_exacs_configuration_summary.go b/opsi/exadata_exacs_configuration_summary.go index 77fe2e7288..73c02c3ab9 100644 --- a/opsi/exadata_exacs_configuration_summary.go +++ b/opsi/exadata_exacs_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_host_statistics_summary.go b/opsi/exadata_host_statistics_summary.go index 0248a36fc8..d2dee51026 100644 --- a/opsi/exadata_host_statistics_summary.go +++ b/opsi/exadata_host_statistics_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight.go b/opsi/exadata_insight.go index 6f5df655c8..207ba8cde5 100644 --- a/opsi/exadata_insight.go +++ b/opsi/exadata_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_lifecycle_state.go b/opsi/exadata_insight_lifecycle_state.go index bdd17e59a7..239a34b97f 100644 --- a/opsi/exadata_insight_lifecycle_state.go +++ b/opsi/exadata_insight_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_capacity_trend_aggregation.go b/opsi/exadata_insight_resource_capacity_trend_aggregation.go index f2c1887502..d4cb34b434 100644 --- a/opsi/exadata_insight_resource_capacity_trend_aggregation.go +++ b/opsi/exadata_insight_resource_capacity_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_capacity_trend_summary.go b/opsi/exadata_insight_resource_capacity_trend_summary.go index 1f6a12b7bc..2955d19bfe 100644 --- a/opsi/exadata_insight_resource_capacity_trend_summary.go +++ b/opsi/exadata_insight_resource_capacity_trend_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_forecast_trend_summary.go b/opsi/exadata_insight_resource_forecast_trend_summary.go index 30fa63ab4f..02c5617f03 100644 --- a/opsi/exadata_insight_resource_forecast_trend_summary.go +++ b/opsi/exadata_insight_resource_forecast_trend_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_insight_utilization_item.go b/opsi/exadata_insight_resource_insight_utilization_item.go index b1e8840666..d6d8305131 100644 --- a/opsi/exadata_insight_resource_insight_utilization_item.go +++ b/opsi/exadata_insight_resource_insight_utilization_item.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_statistics.go b/opsi/exadata_insight_resource_statistics.go index 2d12eecc4b..f66a422b48 100644 --- a/opsi/exadata_insight_resource_statistics.go +++ b/opsi/exadata_insight_resource_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_resource_statistics_aggregation.go b/opsi/exadata_insight_resource_statistics_aggregation.go index a22cca606e..485814c0bf 100644 --- a/opsi/exadata_insight_resource_statistics_aggregation.go +++ b/opsi/exadata_insight_resource_statistics_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_summary.go b/opsi/exadata_insight_summary.go index a85664d00a..32706b86be 100644 --- a/opsi/exadata_insight_summary.go +++ b/opsi/exadata_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insight_summary_collection.go b/opsi/exadata_insight_summary_collection.go index bc891a2d00..d26d060a7d 100644 --- a/opsi/exadata_insight_summary_collection.go +++ b/opsi/exadata_insight_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insights.go b/opsi/exadata_insights.go index cc6d15663a..bc663a2438 100644 --- a/opsi/exadata_insights.go +++ b/opsi/exadata_insights.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insights_data_object.go b/opsi/exadata_insights_data_object.go index cd216429aa..5756e46b62 100644 --- a/opsi/exadata_insights_data_object.go +++ b/opsi/exadata_insights_data_object.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_insights_data_object_summary.go b/opsi/exadata_insights_data_object_summary.go index 10e42a2a81..d5941d4f9c 100644 --- a/opsi/exadata_insights_data_object_summary.go +++ b/opsi/exadata_insights_data_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_member_collection.go b/opsi/exadata_member_collection.go index 079ff3be30..c60de53e24 100644 --- a/opsi/exadata_member_collection.go +++ b/opsi/exadata_member_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_member_summary.go b/opsi/exadata_member_summary.go index 1958f50ee3..419c5626cb 100644 --- a/opsi/exadata_member_summary.go +++ b/opsi/exadata_member_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_rack_type.go b/opsi/exadata_rack_type.go index 6dd7a2c58e..ca87d6b183 100644 --- a/opsi/exadata_rack_type.go +++ b/opsi/exadata_rack_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_resource_type.go b/opsi/exadata_resource_type.go index 796066f531..199da448f2 100644 --- a/opsi/exadata_resource_type.go +++ b/opsi/exadata_resource_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_storage_server_statistics_summary.go b/opsi/exadata_storage_server_statistics_summary.go index 4b50d846ae..581511473c 100644 --- a/opsi/exadata_storage_server_statistics_summary.go +++ b/opsi/exadata_storage_server_statistics_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/exadata_type.go b/opsi/exadata_type.go index 0bafaa4e30..14ecb7a395 100644 --- a/opsi/exadata_type.go +++ b/opsi/exadata_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/get_operations_insights_warehouse_request_response.go b/opsi/get_operations_insights_warehouse_request_response.go index 8a0a4a4114..875a58c9b6 100644 --- a/opsi/get_operations_insights_warehouse_request_response.go +++ b/opsi/get_operations_insights_warehouse_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsWarehouse.go.html to see an example of how to use GetOperationsInsightsWarehouseRequest. type GetOperationsInsightsWarehouseRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/opsi/historical_data_item.go b/opsi/historical_data_item.go index 749c5c5ce9..3f93a9e4e1 100644 --- a/opsi/historical_data_item.go +++ b/opsi/historical_data_item.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host.go b/opsi/host.go index e5f4daed71..c00c01577e 100644 --- a/opsi/host.go +++ b/opsi/host.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_configuration_collection.go b/opsi/host_configuration_collection.go index dfc7ac7d5d..44961bb3c0 100644 --- a/opsi/host_configuration_collection.go +++ b/opsi/host_configuration_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_configuration_metric_group.go b/opsi/host_configuration_metric_group.go index fb9eace077..a5ac2f047f 100644 --- a/opsi/host_configuration_metric_group.go +++ b/opsi/host_configuration_metric_group.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -86,6 +86,10 @@ func (m *hostconfigurationmetricgroup) UnmarshalPolymorphicJSON(data []byte) (in mm := HostCpuHardwareConfiguration{} err = json.Unmarshal(data, &mm) return mm, err + case "HOST_GPU_CONFIGURATION": + mm := HostGpuConfiguration{} + err = json.Unmarshal(data, &mm) + return mm, err case "HOST_HARDWARE_CONFIGURATION": mm := HostHardwareConfiguration{} err = json.Unmarshal(data, &mm) @@ -130,6 +134,7 @@ const ( HostConfigurationMetricGroupMetricNameNetworkConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_NETWORK_CONFIGURATION" HostConfigurationMetricGroupMetricNameEntites HostConfigurationMetricGroupMetricNameEnum = "HOST_ENTITES" HostConfigurationMetricGroupMetricNameFilesystemConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_FILESYSTEM_CONFIGURATION" + HostConfigurationMetricGroupMetricNameGpuConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_GPU_CONFIGURATION" ) var mappingHostConfigurationMetricGroupMetricNameEnum = map[string]HostConfigurationMetricGroupMetricNameEnum{ @@ -141,6 +146,7 @@ var mappingHostConfigurationMetricGroupMetricNameEnum = map[string]HostConfigura "HOST_NETWORK_CONFIGURATION": HostConfigurationMetricGroupMetricNameNetworkConfiguration, "HOST_ENTITES": HostConfigurationMetricGroupMetricNameEntites, "HOST_FILESYSTEM_CONFIGURATION": HostConfigurationMetricGroupMetricNameFilesystemConfiguration, + "HOST_GPU_CONFIGURATION": HostConfigurationMetricGroupMetricNameGpuConfiguration, } var mappingHostConfigurationMetricGroupMetricNameEnumLowerCase = map[string]HostConfigurationMetricGroupMetricNameEnum{ @@ -152,6 +158,7 @@ var mappingHostConfigurationMetricGroupMetricNameEnumLowerCase = map[string]Host "host_network_configuration": HostConfigurationMetricGroupMetricNameNetworkConfiguration, "host_entites": HostConfigurationMetricGroupMetricNameEntites, "host_filesystem_configuration": HostConfigurationMetricGroupMetricNameFilesystemConfiguration, + "host_gpu_configuration": HostConfigurationMetricGroupMetricNameGpuConfiguration, } // GetHostConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for HostConfigurationMetricGroupMetricNameEnum @@ -174,6 +181,7 @@ func GetHostConfigurationMetricGroupMetricNameEnumStringValues() []string { "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", + "HOST_GPU_CONFIGURATION", } } diff --git a/opsi/host_configuration_summary.go b/opsi/host_configuration_summary.go index a178f438c1..ac8af3001b 100644 --- a/opsi/host_configuration_summary.go +++ b/opsi/host_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_cpu_hardware_configuration.go b/opsi/host_cpu_hardware_configuration.go index caba84ef5c..0d2cad66c8 100644 --- a/opsi/host_cpu_hardware_configuration.go +++ b/opsi/host_cpu_hardware_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_cpu_recommendations.go b/opsi/host_cpu_recommendations.go index 5e7adc2291..0b9c392cef 100644 --- a/opsi/host_cpu_recommendations.go +++ b/opsi/host_cpu_recommendations.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -21,8 +21,17 @@ import ( // HostCpuRecommendations Contains CPU recommendation. type HostCpuRecommendations struct { - // Show if OPSI recommend to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation. + // Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization. + Shape *string `mandatory:"false" json:"shape"` + + // Identify if an instance is abandoned. + IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"` + + // Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation. Burstable HostCpuRecommendationsBurstableEnum `mandatory:"false" json:"burstable,omitempty"` + + // Identify unused instances based on cpu, memory and network metrics. + UnusedInstance HostCpuRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"` } func (m HostCpuRecommendations) String() string { @@ -37,6 +46,9 @@ func (m HostCpuRecommendations) ValidateEnumValue() (bool, error) { if _, ok := GetMappingHostCpuRecommendationsBurstableEnum(string(m.Burstable)); !ok && m.Burstable != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Burstable: %s. Supported values are: %s.", m.Burstable, strings.Join(GetHostCpuRecommendationsBurstableEnumStringValues(), ","))) } + if _, ok := GetMappingHostCpuRecommendationsUnusedInstanceEnum(string(m.UnusedInstance)); !ok && m.UnusedInstance != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UnusedInstance: %s. Supported values are: %s.", m.UnusedInstance, strings.Join(GetHostCpuRecommendationsUnusedInstanceEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) @@ -107,3 +119,49 @@ func GetMappingHostCpuRecommendationsBurstableEnum(val string) (HostCpuRecommend enum, ok := mappingHostCpuRecommendationsBurstableEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// HostCpuRecommendationsUnusedInstanceEnum Enum with underlying type: string +type HostCpuRecommendationsUnusedInstanceEnum string + +// Set of constants representing the allowable values for HostCpuRecommendationsUnusedInstanceEnum +const ( + HostCpuRecommendationsUnusedInstanceInUse HostCpuRecommendationsUnusedInstanceEnum = "IN_USE" + HostCpuRecommendationsUnusedInstanceNotInUse HostCpuRecommendationsUnusedInstanceEnum = "NOT_IN_USE" + HostCpuRecommendationsUnusedInstanceIsNotDetermined HostCpuRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED" +) + +var mappingHostCpuRecommendationsUnusedInstanceEnum = map[string]HostCpuRecommendationsUnusedInstanceEnum{ + "IN_USE": HostCpuRecommendationsUnusedInstanceInUse, + "NOT_IN_USE": HostCpuRecommendationsUnusedInstanceNotInUse, + "IS_NOT_DETERMINED": HostCpuRecommendationsUnusedInstanceIsNotDetermined, +} + +var mappingHostCpuRecommendationsUnusedInstanceEnumLowerCase = map[string]HostCpuRecommendationsUnusedInstanceEnum{ + "in_use": HostCpuRecommendationsUnusedInstanceInUse, + "not_in_use": HostCpuRecommendationsUnusedInstanceNotInUse, + "is_not_determined": HostCpuRecommendationsUnusedInstanceIsNotDetermined, +} + +// GetHostCpuRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostCpuRecommendationsUnusedInstanceEnum +func GetHostCpuRecommendationsUnusedInstanceEnumValues() []HostCpuRecommendationsUnusedInstanceEnum { + values := make([]HostCpuRecommendationsUnusedInstanceEnum, 0) + for _, v := range mappingHostCpuRecommendationsUnusedInstanceEnum { + values = append(values, v) + } + return values +} + +// GetHostCpuRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostCpuRecommendationsUnusedInstanceEnum +func GetHostCpuRecommendationsUnusedInstanceEnumStringValues() []string { + return []string{ + "IN_USE", + "NOT_IN_USE", + "IS_NOT_DETERMINED", + } +} + +// GetMappingHostCpuRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostCpuRecommendationsUnusedInstanceEnum(val string) (HostCpuRecommendationsUnusedInstanceEnum, bool) { + enum, ok := mappingHostCpuRecommendationsUnusedInstanceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/opsi/host_cpu_statistics.go b/opsi/host_cpu_statistics.go index d0929b0b33..7cf1ca3b17 100644 --- a/opsi/host_cpu_statistics.go +++ b/opsi/host_cpu_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_cpu_usage.go b/opsi/host_cpu_usage.go index 093ee9c910..29bcfaebd6 100644 --- a/opsi/host_cpu_usage.go +++ b/opsi/host_cpu_usage.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_details.go b/opsi/host_details.go index 4cedfe1902..7b659758d5 100644 --- a/opsi/host_details.go +++ b/opsi/host_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_entities.go b/opsi/host_entities.go index 5861288963..0d7798ffbd 100644 --- a/opsi/host_entities.go +++ b/opsi/host_entities.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_entity_source.go b/opsi/host_entity_source.go index b248b36c9a..4a86f60f79 100644 --- a/opsi/host_entity_source.go +++ b/opsi/host_entity_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_filesystem_configuration.go b/opsi/host_filesystem_configuration.go index 5d0aa4228c..44711235fa 100644 --- a/opsi/host_filesystem_configuration.go +++ b/opsi/host_filesystem_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_filesystem_usage.go b/opsi/host_filesystem_usage.go index 486d72a884..db7a0d8e3e 100644 --- a/opsi/host_filesystem_usage.go +++ b/opsi/host_filesystem_usage.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_gpu_configuration.go b/opsi/host_gpu_configuration.go new file mode 100644 index 0000000000..1cb7af92d9 --- /dev/null +++ b/opsi/host_gpu_configuration.go @@ -0,0 +1,104 @@ +// 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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostGpuConfiguration GPU configuration metrics +type HostGpuConfiguration struct { + + // Collection timestamp + // Example: `"2020-05-06T00:00:00.000Z"` + TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` + + // GPU Identifier + GpuId *int `mandatory:"true" json:"gpuId"` + + // GPU Product Name + ProductName *string `mandatory:"true" json:"productName"` + + // GPU Vendor + Vendor *string `mandatory:"true" json:"vendor"` + + // Bus Identifier + BusId *string `mandatory:"true" json:"busId"` + + // Bus Width + BusWidth *int `mandatory:"true" json:"busWidth"` + + // Power Capacity + TotalPower *float64 `mandatory:"true" json:"totalPower"` + + // Total Memory Allocated to GPU + TotalMemory *float64 `mandatory:"true" json:"totalMemory"` + + // Max Video Clock Speed + TotalVideoClockSpeed *float64 `mandatory:"true" json:"totalVideoClockSpeed"` + + // Max SM (Streaming Multiprocessor) Clock Speed + TotalSmClockSpeed *float64 `mandatory:"true" json:"totalSmClockSpeed"` + + // Max Graphics Clock Speed + TotalGraphicsClockSpeed *float64 `mandatory:"true" json:"totalGraphicsClockSpeed"` + + // Max Memory Clock Speed + TotalMemoryClockSpeed *float64 `mandatory:"true" json:"totalMemoryClockSpeed"` + + // CUDA library version + CudaVersion *string `mandatory:"true" json:"cudaVersion"` + + // GPU Driver version + DriverVersion *string `mandatory:"true" json:"driverVersion"` + + // GPU Capabilities + GpuCapabilities *string `mandatory:"false" json:"gpuCapabilities"` +} + +// GetTimeCollected returns TimeCollected +func (m HostGpuConfiguration) GetTimeCollected() *common.SDKTime { + return m.TimeCollected +} + +func (m HostGpuConfiguration) 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 HostGpuConfiguration) 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 HostGpuConfiguration) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostGpuConfiguration HostGpuConfiguration + s := struct { + DiscriminatorParam string `json:"metricName"` + MarshalTypeHostGpuConfiguration + }{ + "HOST_GPU_CONFIGURATION", + (MarshalTypeHostGpuConfiguration)(m), + } + + return json.Marshal(&s) +} diff --git a/opsi/host_gpu_processes.go b/opsi/host_gpu_processes.go new file mode 100644 index 0000000000..5df9cda31d --- /dev/null +++ b/opsi/host_gpu_processes.go @@ -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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostGpuProcesses GPU processes metrics, processes using GPUs. +type HostGpuProcesses struct { + + // Collection timestamp + // Example: `"2020-05-06T00:00:00.000Z"` + TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` + + // GPU Identifier + GpuId *int `mandatory:"false" json:"gpuId"` + + // Process Identifier + Pid *int `mandatory:"false" json:"pid"` + + // Process Name (process using GPU) + ProcessName *string `mandatory:"false" json:"processName"` + + // Process elapsed time + ElapsedTime *float64 `mandatory:"false" json:"elapsedTime"` + + // Memory Used by Process in MBs + GpuMemoryUsage *float64 `mandatory:"false" json:"gpuMemoryUsage"` +} + +// GetTimeCollected returns TimeCollected +func (m HostGpuProcesses) GetTimeCollected() *common.SDKTime { + return m.TimeCollected +} + +func (m HostGpuProcesses) 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 HostGpuProcesses) 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 HostGpuProcesses) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostGpuProcesses HostGpuProcesses + s := struct { + DiscriminatorParam string `json:"metricName"` + MarshalTypeHostGpuProcesses + }{ + "HOST_GPU_PROCESSES", + (MarshalTypeHostGpuProcesses)(m), + } + + return json.Marshal(&s) +} diff --git a/opsi/host_gpu_usage.go b/opsi/host_gpu_usage.go new file mode 100644 index 0000000000..4b4cf31feb --- /dev/null +++ b/opsi/host_gpu_usage.go @@ -0,0 +1,122 @@ +// 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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostGpuUsage GPU performance metrics +type HostGpuUsage struct { + + // Collection timestamp + // Example: `"2020-05-06T00:00:00.000Z"` + TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"` + + // GPU Identifier + GpuId *int `mandatory:"false" json:"gpuId"` + + // GPU Utilization Percent + Utilization *float64 `mandatory:"false" json:"utilization"` + + // GPU Memory Utilization Percent + MemoryUtilization *float64 `mandatory:"false" json:"memoryUtilization"` + + // GPU Power Draw in Watts + PowerDraw *float64 `mandatory:"false" json:"powerDraw"` + + // GPU Temperature in Celsius + Temperature *float64 `mandatory:"false" json:"temperature"` + + // GPU Fan Utilization + FanUtilization *float64 `mandatory:"false" json:"fanUtilization"` + + // GPU Graphics (Shader) Clock Speed + ClockSpeedGraphics *float64 `mandatory:"false" json:"clockSpeedGraphics"` + + // GPU SM (Streaming Multiprocessor) Clock Speed + ClockSpeedSm *float64 `mandatory:"false" json:"clockSpeedSm"` + + // GPU Video Clock Speed + ClockSpeedVideo *float64 `mandatory:"false" json:"clockSpeedVideo"` + + // GPU Memory Clock Speed + ClockSpeedMemory *float64 `mandatory:"false" json:"clockSpeedMemory"` + + // GPU Performance State + PerformanceState *float64 `mandatory:"false" json:"performanceState"` + + // GPU ECC Single Bit Errors + EccSingleBitErrors *int `mandatory:"false" json:"eccSingleBitErrors"` + + // GPU ECC Double Bit Errors + EccDoubleBitErrors *int `mandatory:"false" json:"eccDoubleBitErrors"` + + // Nothing running on CPU, clocks are idle + ClockEventIdle *int `mandatory:"false" json:"clockEventIdle"` + + // HW Thermal Slowdown (reducing the core clocks by a factor of 2 or more) is engaged. Temp too high + ClockEventHwThermalSlowDown *int `mandatory:"false" json:"clockEventHwThermalSlowDown"` + + // SW Power Scaling algorithm is reducing the clocks below requested clocks because the GPU is consuming too much power + ClockEventSwPowerCap *int `mandatory:"false" json:"clockEventSwPowerCap"` + + // GPU clocks are limited by applications clocks setting + ClockEventAppClockSetting *int `mandatory:"false" json:"clockEventAppClockSetting"` + + // HW Power Brake Slowdown (reducing the core clocks by a factor of 2 or more) is engaged + ClockEventHwPowerBreak *int `mandatory:"false" json:"clockEventHwPowerBreak"` + + // SW Thermal capping algorithm is reducing clocks below requested clocks because GPU temperature is higher than Max Operating Temp + ClockEventSwThermalSlowdown *int `mandatory:"false" json:"clockEventSwThermalSlowdown"` + + // HW Power Brake Slowdown (reducing the core clocks by a factor of 2 or more) is engaged + ClockEventSyncBoost *int `mandatory:"false" json:"clockEventSyncBoost"` +} + +// GetTimeCollected returns TimeCollected +func (m HostGpuUsage) GetTimeCollected() *common.SDKTime { + return m.TimeCollected +} + +func (m HostGpuUsage) 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 HostGpuUsage) 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 HostGpuUsage) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostGpuUsage HostGpuUsage + s := struct { + DiscriminatorParam string `json:"metricName"` + MarshalTypeHostGpuUsage + }{ + "HOST_GPU_USAGE", + (MarshalTypeHostGpuUsage)(m), + } + + return json.Marshal(&s) +} diff --git a/opsi/host_hardware_configuration.go b/opsi/host_hardware_configuration.go index 67ae393864..01426d20b9 100644 --- a/opsi/host_hardware_configuration.go +++ b/opsi/host_hardware_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_importable_agent_entity_summary.go b/opsi/host_importable_agent_entity_summary.go index c94e9cc183..140d67c28b 100644 --- a/opsi/host_importable_agent_entity_summary.go +++ b/opsi/host_importable_agent_entity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_insight.go b/opsi/host_insight.go index 9f78ad1273..f3cbefebea 100644 --- a/opsi/host_insight.go +++ b/opsi/host_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -50,7 +50,7 @@ type HostInsight interface { // The user-friendly name for the host. The name does not have to be unique. GetHostDisplayName() *string - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. GetHostType() *string // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. diff --git a/opsi/host_insight_host_recommendations.go b/opsi/host_insight_host_recommendations.go index 7b6529c439..3cde5c0d61 100644 --- a/opsi/host_insight_host_recommendations.go +++ b/opsi/host_insight_host_recommendations.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -56,6 +56,18 @@ func (m *hostinsighthostrecommendations) UnmarshalPolymorphicJSON(data []byte) ( mm := HostCpuRecommendations{} err = json.Unmarshal(data, &mm) return mm, err + case "HOST_NETWORK_RECOMMENDATIONS": + mm := HostNetworkRecommendations{} + err = json.Unmarshal(data, &mm) + return mm, err + case "HOST_MEMORY_RECOMMENDATIONS": + mm := HostMemoryRecommendations{} + err = json.Unmarshal(data, &mm) + return mm, err + case "HOST_STORAGE_RECOMMENDATIONS": + mm := HostStorageRecommendations{} + err = json.Unmarshal(data, &mm) + return mm, err default: common.Logf("Recieved unsupported enum value for HostInsightHostRecommendations: %s.", m.MetricRecommendationName) return *m, nil @@ -83,15 +95,24 @@ type HostInsightHostRecommendationsMetricRecommendationNameEnum string // Set of constants representing the allowable values for HostInsightHostRecommendationsMetricRecommendationNameEnum const ( - HostInsightHostRecommendationsMetricRecommendationNameHostCpuRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_CPU_RECOMMENDATIONS" + HostInsightHostRecommendationsMetricRecommendationNameCpuRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_CPU_RECOMMENDATIONS" + HostInsightHostRecommendationsMetricRecommendationNameMemoryRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_MEMORY_RECOMMENDATIONS" + HostInsightHostRecommendationsMetricRecommendationNameNetworkRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_NETWORK_RECOMMENDATIONS" + HostInsightHostRecommendationsMetricRecommendationNameStorageRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_STORAGE_RECOMMENDATIONS" ) var mappingHostInsightHostRecommendationsMetricRecommendationNameEnum = map[string]HostInsightHostRecommendationsMetricRecommendationNameEnum{ - "HOST_CPU_RECOMMENDATIONS": HostInsightHostRecommendationsMetricRecommendationNameHostCpuRecommendations, + "HOST_CPU_RECOMMENDATIONS": HostInsightHostRecommendationsMetricRecommendationNameCpuRecommendations, + "HOST_MEMORY_RECOMMENDATIONS": HostInsightHostRecommendationsMetricRecommendationNameMemoryRecommendations, + "HOST_NETWORK_RECOMMENDATIONS": HostInsightHostRecommendationsMetricRecommendationNameNetworkRecommendations, + "HOST_STORAGE_RECOMMENDATIONS": HostInsightHostRecommendationsMetricRecommendationNameStorageRecommendations, } var mappingHostInsightHostRecommendationsMetricRecommendationNameEnumLowerCase = map[string]HostInsightHostRecommendationsMetricRecommendationNameEnum{ - "host_cpu_recommendations": HostInsightHostRecommendationsMetricRecommendationNameHostCpuRecommendations, + "host_cpu_recommendations": HostInsightHostRecommendationsMetricRecommendationNameCpuRecommendations, + "host_memory_recommendations": HostInsightHostRecommendationsMetricRecommendationNameMemoryRecommendations, + "host_network_recommendations": HostInsightHostRecommendationsMetricRecommendationNameNetworkRecommendations, + "host_storage_recommendations": HostInsightHostRecommendationsMetricRecommendationNameStorageRecommendations, } // GetHostInsightHostRecommendationsMetricRecommendationNameEnumValues Enumerates the set of values for HostInsightHostRecommendationsMetricRecommendationNameEnum @@ -107,6 +128,9 @@ func GetHostInsightHostRecommendationsMetricRecommendationNameEnumValues() []Hos func GetHostInsightHostRecommendationsMetricRecommendationNameEnumStringValues() []string { return []string{ "HOST_CPU_RECOMMENDATIONS", + "HOST_MEMORY_RECOMMENDATIONS", + "HOST_NETWORK_RECOMMENDATIONS", + "HOST_STORAGE_RECOMMENDATIONS", } } diff --git a/opsi/host_insight_resource_statistics_aggregation.go b/opsi/host_insight_resource_statistics_aggregation.go index 2c4ad90f86..b4c89c494f 100644 --- a/opsi/host_insight_resource_statistics_aggregation.go +++ b/opsi/host_insight_resource_statistics_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_insight_summary.go b/opsi/host_insight_summary.go index 31d4130282..7961e57cd1 100644 --- a/opsi/host_insight_summary.go +++ b/opsi/host_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type HostInsightSummary interface { // The user-friendly name for the host. The name does not have to be unique. GetHostDisplayName() *string - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. GetHostType() *string // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. @@ -54,7 +54,7 @@ type HostInsightSummary interface { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint GetOpsiPrivateEndpointId() *string - // Indicates the status of a host insight in Operations Insights + // Indicates the status of a host insight in Ops Insights GetStatus() ResourceStatusEnum // The time the the host insight was first enabled. An RFC3339 formatted datetime string diff --git a/opsi/host_insight_summary_collection.go b/opsi/host_insight_summary_collection.go index ad9f4b2431..0589302437 100644 --- a/opsi/host_insight_summary_collection.go +++ b/opsi/host_insight_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_insights.go b/opsi/host_insights.go index e69e13cd73..426995c7a9 100644 --- a/opsi/host_insights.go +++ b/opsi/host_insights.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_insights_data_object.go b/opsi/host_insights_data_object.go index e35e1659bc..60b2a6474a 100644 --- a/opsi/host_insights_data_object.go +++ b/opsi/host_insights_data_object.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_insights_data_object_summary.go b/opsi/host_insights_data_object_summary.go index d507b5a386..ec7dd55acf 100644 --- a/opsi/host_insights_data_object_summary.go +++ b/opsi/host_insights_data_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_instance_map.go b/opsi/host_instance_map.go index a3b15dc240..90a8574025 100644 --- a/opsi/host_instance_map.go +++ b/opsi/host_instance_map.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_memory_configuration.go b/opsi/host_memory_configuration.go index 73e31bde9d..72bd03c295 100644 --- a/opsi/host_memory_configuration.go +++ b/opsi/host_memory_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_memory_recommendations.go b/opsi/host_memory_recommendations.go new file mode 100644 index 0000000000..1c343e52f2 --- /dev/null +++ b/opsi/host_memory_recommendations.go @@ -0,0 +1,111 @@ +// 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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostMemoryRecommendations Contains memory recommendation. +type HostMemoryRecommendations struct { + + // Identify if an instance is abandoned. + IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"` + + // Show if OPSI recommends to change memory capacity based on Memory utilization and current shape. + MemoryOptimization *string `mandatory:"false" json:"memoryOptimization"` + + // Identify unused instances based on cpu, memory and network metrics. + UnusedInstance HostMemoryRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"` +} + +func (m HostMemoryRecommendations) 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 HostMemoryRecommendations) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingHostMemoryRecommendationsUnusedInstanceEnum(string(m.UnusedInstance)); !ok && m.UnusedInstance != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UnusedInstance: %s. Supported values are: %s.", m.UnusedInstance, strings.Join(GetHostMemoryRecommendationsUnusedInstanceEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m HostMemoryRecommendations) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostMemoryRecommendations HostMemoryRecommendations + s := struct { + DiscriminatorParam string `json:"metricRecommendationName"` + MarshalTypeHostMemoryRecommendations + }{ + "HOST_MEMORY_RECOMMENDATIONS", + (MarshalTypeHostMemoryRecommendations)(m), + } + + return json.Marshal(&s) +} + +// HostMemoryRecommendationsUnusedInstanceEnum Enum with underlying type: string +type HostMemoryRecommendationsUnusedInstanceEnum string + +// Set of constants representing the allowable values for HostMemoryRecommendationsUnusedInstanceEnum +const ( + HostMemoryRecommendationsUnusedInstanceInUse HostMemoryRecommendationsUnusedInstanceEnum = "IN_USE" + HostMemoryRecommendationsUnusedInstanceNotInUse HostMemoryRecommendationsUnusedInstanceEnum = "NOT_IN_USE" + HostMemoryRecommendationsUnusedInstanceIsNotDetermined HostMemoryRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED" +) + +var mappingHostMemoryRecommendationsUnusedInstanceEnum = map[string]HostMemoryRecommendationsUnusedInstanceEnum{ + "IN_USE": HostMemoryRecommendationsUnusedInstanceInUse, + "NOT_IN_USE": HostMemoryRecommendationsUnusedInstanceNotInUse, + "IS_NOT_DETERMINED": HostMemoryRecommendationsUnusedInstanceIsNotDetermined, +} + +var mappingHostMemoryRecommendationsUnusedInstanceEnumLowerCase = map[string]HostMemoryRecommendationsUnusedInstanceEnum{ + "in_use": HostMemoryRecommendationsUnusedInstanceInUse, + "not_in_use": HostMemoryRecommendationsUnusedInstanceNotInUse, + "is_not_determined": HostMemoryRecommendationsUnusedInstanceIsNotDetermined, +} + +// GetHostMemoryRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostMemoryRecommendationsUnusedInstanceEnum +func GetHostMemoryRecommendationsUnusedInstanceEnumValues() []HostMemoryRecommendationsUnusedInstanceEnum { + values := make([]HostMemoryRecommendationsUnusedInstanceEnum, 0) + for _, v := range mappingHostMemoryRecommendationsUnusedInstanceEnum { + values = append(values, v) + } + return values +} + +// GetHostMemoryRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostMemoryRecommendationsUnusedInstanceEnum +func GetHostMemoryRecommendationsUnusedInstanceEnumStringValues() []string { + return []string{ + "IN_USE", + "NOT_IN_USE", + "IS_NOT_DETERMINED", + } +} + +// GetMappingHostMemoryRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostMemoryRecommendationsUnusedInstanceEnum(val string) (HostMemoryRecommendationsUnusedInstanceEnum, bool) { + enum, ok := mappingHostMemoryRecommendationsUnusedInstanceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/opsi/host_memory_statistics.go b/opsi/host_memory_statistics.go index 7cf6e56d82..c2818dd5bb 100644 --- a/opsi/host_memory_statistics.go +++ b/opsi/host_memory_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_memory_usage.go b/opsi/host_memory_usage.go index 9d90fc32d9..46833baabd 100644 --- a/opsi/host_memory_usage.go +++ b/opsi/host_memory_usage.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_network_activity_summary.go b/opsi/host_network_activity_summary.go index f926e6c15d..abd5aafc11 100644 --- a/opsi/host_network_activity_summary.go +++ b/opsi/host_network_activity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_network_configuration.go b/opsi/host_network_configuration.go index bfd22a1c9d..037b57a1bb 100644 --- a/opsi/host_network_configuration.go +++ b/opsi/host_network_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_network_recommendations.go b/opsi/host_network_recommendations.go new file mode 100644 index 0000000000..8ae5a8f128 --- /dev/null +++ b/opsi/host_network_recommendations.go @@ -0,0 +1,108 @@ +// 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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostNetworkRecommendations Contains network recommendation. +type HostNetworkRecommendations struct { + + // Identify if an instance is abandoned. + IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"` + + // Identify unused instances based on cpu, memory and network metrics. + UnusedInstance HostNetworkRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"` +} + +func (m HostNetworkRecommendations) 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 HostNetworkRecommendations) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingHostNetworkRecommendationsUnusedInstanceEnum(string(m.UnusedInstance)); !ok && m.UnusedInstance != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UnusedInstance: %s. Supported values are: %s.", m.UnusedInstance, strings.Join(GetHostNetworkRecommendationsUnusedInstanceEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m HostNetworkRecommendations) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostNetworkRecommendations HostNetworkRecommendations + s := struct { + DiscriminatorParam string `json:"metricRecommendationName"` + MarshalTypeHostNetworkRecommendations + }{ + "HOST_NETWORK_RECOMMENDATIONS", + (MarshalTypeHostNetworkRecommendations)(m), + } + + return json.Marshal(&s) +} + +// HostNetworkRecommendationsUnusedInstanceEnum Enum with underlying type: string +type HostNetworkRecommendationsUnusedInstanceEnum string + +// Set of constants representing the allowable values for HostNetworkRecommendationsUnusedInstanceEnum +const ( + HostNetworkRecommendationsUnusedInstanceInUse HostNetworkRecommendationsUnusedInstanceEnum = "IN_USE" + HostNetworkRecommendationsUnusedInstanceNotInUse HostNetworkRecommendationsUnusedInstanceEnum = "NOT_IN_USE" + HostNetworkRecommendationsUnusedInstanceIsNotDetermined HostNetworkRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED" +) + +var mappingHostNetworkRecommendationsUnusedInstanceEnum = map[string]HostNetworkRecommendationsUnusedInstanceEnum{ + "IN_USE": HostNetworkRecommendationsUnusedInstanceInUse, + "NOT_IN_USE": HostNetworkRecommendationsUnusedInstanceNotInUse, + "IS_NOT_DETERMINED": HostNetworkRecommendationsUnusedInstanceIsNotDetermined, +} + +var mappingHostNetworkRecommendationsUnusedInstanceEnumLowerCase = map[string]HostNetworkRecommendationsUnusedInstanceEnum{ + "in_use": HostNetworkRecommendationsUnusedInstanceInUse, + "not_in_use": HostNetworkRecommendationsUnusedInstanceNotInUse, + "is_not_determined": HostNetworkRecommendationsUnusedInstanceIsNotDetermined, +} + +// GetHostNetworkRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostNetworkRecommendationsUnusedInstanceEnum +func GetHostNetworkRecommendationsUnusedInstanceEnumValues() []HostNetworkRecommendationsUnusedInstanceEnum { + values := make([]HostNetworkRecommendationsUnusedInstanceEnum, 0) + for _, v := range mappingHostNetworkRecommendationsUnusedInstanceEnum { + values = append(values, v) + } + return values +} + +// GetHostNetworkRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostNetworkRecommendationsUnusedInstanceEnum +func GetHostNetworkRecommendationsUnusedInstanceEnumStringValues() []string { + return []string{ + "IN_USE", + "NOT_IN_USE", + "IS_NOT_DETERMINED", + } +} + +// GetMappingHostNetworkRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostNetworkRecommendationsUnusedInstanceEnum(val string) (HostNetworkRecommendationsUnusedInstanceEnum, bool) { + enum, ok := mappingHostNetworkRecommendationsUnusedInstanceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/opsi/host_network_statistics.go b/opsi/host_network_statistics.go index 1e3be5abff..a50a9f240c 100644 --- a/opsi/host_network_statistics.go +++ b/opsi/host_network_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_performance_metric_group.go b/opsi/host_performance_metric_group.go index ac87c1f372..a6ef3b1b8e 100644 --- a/opsi/host_performance_metric_group.go +++ b/opsi/host_performance_metric_group.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -70,6 +70,14 @@ func (m *hostperformancemetricgroup) UnmarshalPolymorphicJSON(data []byte) (inte mm := HostCpuUsage{} err = json.Unmarshal(data, &mm) return mm, err + case "HOST_GPU_USAGE": + mm := HostGpuUsage{} + err = json.Unmarshal(data, &mm) + return mm, err + case "HOST_GPU_PROCESSES": + mm := HostGpuProcesses{} + err = json.Unmarshal(data, &mm) + return mm, err case "HOST_FILESYSTEM_USAGE": mm := HostFilesystemUsage{} err = json.Unmarshal(data, &mm) @@ -115,6 +123,8 @@ const ( HostPerformanceMetricGroupMetricNameNetworkActivitySummary HostPerformanceMetricGroupMetricNameEnum = "HOST_NETWORK_ACTIVITY_SUMMARY" HostPerformanceMetricGroupMetricNameTopProcesses HostPerformanceMetricGroupMetricNameEnum = "HOST_TOP_PROCESSES" HostPerformanceMetricGroupMetricNameFilesystemUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_FILESYSTEM_USAGE" + HostPerformanceMetricGroupMetricNameGpuUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_GPU_USAGE" + HostPerformanceMetricGroupMetricNameGpuProcesses HostPerformanceMetricGroupMetricNameEnum = "HOST_GPU_PROCESSES" ) var mappingHostPerformanceMetricGroupMetricNameEnum = map[string]HostPerformanceMetricGroupMetricNameEnum{ @@ -123,6 +133,8 @@ var mappingHostPerformanceMetricGroupMetricNameEnum = map[string]HostPerformance "HOST_NETWORK_ACTIVITY_SUMMARY": HostPerformanceMetricGroupMetricNameNetworkActivitySummary, "HOST_TOP_PROCESSES": HostPerformanceMetricGroupMetricNameTopProcesses, "HOST_FILESYSTEM_USAGE": HostPerformanceMetricGroupMetricNameFilesystemUsage, + "HOST_GPU_USAGE": HostPerformanceMetricGroupMetricNameGpuUsage, + "HOST_GPU_PROCESSES": HostPerformanceMetricGroupMetricNameGpuProcesses, } var mappingHostPerformanceMetricGroupMetricNameEnumLowerCase = map[string]HostPerformanceMetricGroupMetricNameEnum{ @@ -131,6 +143,8 @@ var mappingHostPerformanceMetricGroupMetricNameEnumLowerCase = map[string]HostPe "host_network_activity_summary": HostPerformanceMetricGroupMetricNameNetworkActivitySummary, "host_top_processes": HostPerformanceMetricGroupMetricNameTopProcesses, "host_filesystem_usage": HostPerformanceMetricGroupMetricNameFilesystemUsage, + "host_gpu_usage": HostPerformanceMetricGroupMetricNameGpuUsage, + "host_gpu_processes": HostPerformanceMetricGroupMetricNameGpuProcesses, } // GetHostPerformanceMetricGroupMetricNameEnumValues Enumerates the set of values for HostPerformanceMetricGroupMetricNameEnum @@ -150,6 +164,8 @@ func GetHostPerformanceMetricGroupMetricNameEnumStringValues() []string { "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", + "HOST_GPU_USAGE", + "HOST_GPU_PROCESSES", } } diff --git a/opsi/host_product.go b/opsi/host_product.go index 9aa3ede6f6..d0188085f3 100644 --- a/opsi/host_product.go +++ b/opsi/host_product.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_resource_allocation.go b/opsi/host_resource_allocation.go index ac8176d074..fbb0e206f0 100644 --- a/opsi/host_resource_allocation.go +++ b/opsi/host_resource_allocation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_resource_capacity_trend_aggregation.go b/opsi/host_resource_capacity_trend_aggregation.go index ebbe81dc51..b3474252bb 100644 --- a/opsi/host_resource_capacity_trend_aggregation.go +++ b/opsi/host_resource_capacity_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_resource_statistics.go b/opsi/host_resource_statistics.go index 5b33fef23d..012651263a 100644 --- a/opsi/host_resource_statistics.go +++ b/opsi/host_resource_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_storage_recommendations.go b/opsi/host_storage_recommendations.go new file mode 100644 index 0000000000..1480df7c75 --- /dev/null +++ b/opsi/host_storage_recommendations.go @@ -0,0 +1,108 @@ +// 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. + +// Ops Insights API +// +// Use the Ops Insights API to perform data extraction operations to obtain database +// resource utilization, performance statistics, and reference information. For more information, +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// + +package opsi + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostStorageRecommendations Contains storage recommendation. +type HostStorageRecommendations struct { + + // Identify if an instance is abandoned. + IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"` + + // Identify unused instances based on cpu, memory and network metrics. + UnusedInstance HostStorageRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"` +} + +func (m HostStorageRecommendations) 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 HostStorageRecommendations) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingHostStorageRecommendationsUnusedInstanceEnum(string(m.UnusedInstance)); !ok && m.UnusedInstance != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UnusedInstance: %s. Supported values are: %s.", m.UnusedInstance, strings.Join(GetHostStorageRecommendationsUnusedInstanceEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m HostStorageRecommendations) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostStorageRecommendations HostStorageRecommendations + s := struct { + DiscriminatorParam string `json:"metricRecommendationName"` + MarshalTypeHostStorageRecommendations + }{ + "HOST_STORAGE_RECOMMENDATIONS", + (MarshalTypeHostStorageRecommendations)(m), + } + + return json.Marshal(&s) +} + +// HostStorageRecommendationsUnusedInstanceEnum Enum with underlying type: string +type HostStorageRecommendationsUnusedInstanceEnum string + +// Set of constants representing the allowable values for HostStorageRecommendationsUnusedInstanceEnum +const ( + HostStorageRecommendationsUnusedInstanceInUse HostStorageRecommendationsUnusedInstanceEnum = "IN_USE" + HostStorageRecommendationsUnusedInstanceNotInUse HostStorageRecommendationsUnusedInstanceEnum = "NOT_IN_USE" + HostStorageRecommendationsUnusedInstanceIsNotDetermined HostStorageRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED" +) + +var mappingHostStorageRecommendationsUnusedInstanceEnum = map[string]HostStorageRecommendationsUnusedInstanceEnum{ + "IN_USE": HostStorageRecommendationsUnusedInstanceInUse, + "NOT_IN_USE": HostStorageRecommendationsUnusedInstanceNotInUse, + "IS_NOT_DETERMINED": HostStorageRecommendationsUnusedInstanceIsNotDetermined, +} + +var mappingHostStorageRecommendationsUnusedInstanceEnumLowerCase = map[string]HostStorageRecommendationsUnusedInstanceEnum{ + "in_use": HostStorageRecommendationsUnusedInstanceInUse, + "not_in_use": HostStorageRecommendationsUnusedInstanceNotInUse, + "is_not_determined": HostStorageRecommendationsUnusedInstanceIsNotDetermined, +} + +// GetHostStorageRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostStorageRecommendationsUnusedInstanceEnum +func GetHostStorageRecommendationsUnusedInstanceEnumValues() []HostStorageRecommendationsUnusedInstanceEnum { + values := make([]HostStorageRecommendationsUnusedInstanceEnum, 0) + for _, v := range mappingHostStorageRecommendationsUnusedInstanceEnum { + values = append(values, v) + } + return values +} + +// GetHostStorageRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostStorageRecommendationsUnusedInstanceEnum +func GetHostStorageRecommendationsUnusedInstanceEnumStringValues() []string { + return []string{ + "IN_USE", + "NOT_IN_USE", + "IS_NOT_DETERMINED", + } +} + +// GetMappingHostStorageRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostStorageRecommendationsUnusedInstanceEnum(val string) (HostStorageRecommendationsUnusedInstanceEnum, bool) { + enum, ok := mappingHostStorageRecommendationsUnusedInstanceEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/opsi/host_storage_statistics.go b/opsi/host_storage_statistics.go index e5ae1ec8f5..a1c68845de 100644 --- a/opsi/host_storage_statistics.go +++ b/opsi/host_storage_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/host_top_processes.go b/opsi/host_top_processes.go index e13b0227ae..7bdd3159e6 100644 --- a/opsi/host_top_processes.go +++ b/opsi/host_top_processes.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -55,6 +55,9 @@ type HostTopProcesses struct { // Number of processes running at the time of collection TotalProcesses *float32 `mandatory:"false" json:"totalProcesses"` + + // Container id if this process corresponds to a running container in the host + ContainerId *string `mandatory:"false" json:"containerId"` } // GetTimeCollected returns TimeCollected diff --git a/opsi/hosted_entity_collection.go b/opsi/hosted_entity_collection.go index 86e85134a9..a5d8e526c9 100644 --- a/opsi/hosted_entity_collection.go +++ b/opsi/hosted_entity_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/hosted_entity_summary.go b/opsi/hosted_entity_summary.go index eaf8686303..1b7cb93fb1 100644 --- a/opsi/hosted_entity_summary.go +++ b/opsi/hosted_entity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_agent_entity_source.go b/opsi/importable_agent_entity_source.go index db080f9f4f..93afd5cf13 100644 --- a/opsi/importable_agent_entity_source.go +++ b/opsi/importable_agent_entity_source.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_agent_entity_summary.go b/opsi/importable_agent_entity_summary.go index c1fb5206e1..c22b5f9406 100644 --- a/opsi/importable_agent_entity_summary.go +++ b/opsi/importable_agent_entity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_agent_entity_summary_collection.go b/opsi/importable_agent_entity_summary_collection.go index c01fd8491c..e4c01b5f8c 100644 --- a/opsi/importable_agent_entity_summary_collection.go +++ b/opsi/importable_agent_entity_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_compute_entity_summary.go b/opsi/importable_compute_entity_summary.go index a7200a0e51..bc4cd7642a 100644 --- a/opsi/importable_compute_entity_summary.go +++ b/opsi/importable_compute_entity_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_compute_entity_summary_collection.go b/opsi/importable_compute_entity_summary_collection.go index 09b9b24344..82f3455c99 100644 --- a/opsi/importable_compute_entity_summary_collection.go +++ b/opsi/importable_compute_entity_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/importable_enterprise_manager_entity.go b/opsi/importable_enterprise_manager_entity.go index f5552995d9..89a1afe24b 100644 --- a/opsi/importable_enterprise_manager_entity.go +++ b/opsi/importable_enterprise_manager_entity.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -32,7 +32,7 @@ type ImportableEnterpriseManagerEntity struct { // Enterprise Manager Entity Unique Identifier EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"` - // Operations Insights internal representation of the resource type. + // Ops Insights internal representation of the resource type. OpsiEntityType *string `mandatory:"false" json:"opsiEntityType"` } diff --git a/opsi/importable_enterprise_manager_entity_collection.go b/opsi/importable_enterprise_manager_entity_collection.go index 848f0ba8c8..3d7a4f5d09 100644 --- a/opsi/importable_enterprise_manager_entity_collection.go +++ b/opsi/importable_enterprise_manager_entity_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/individual_opsi_data_object_details_in_query.go b/opsi/individual_opsi_data_object_details_in_query.go index c0ab26ec8a..d0376fdfd2 100644 --- a/opsi/individual_opsi_data_object_details_in_query.go +++ b/opsi/individual_opsi_data_object_details_in_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_addm_reports_details.go b/opsi/ingest_addm_reports_details.go index 3bb1a60e19..385bc69eca 100644 --- a/opsi/ingest_addm_reports_details.go +++ b/opsi/ingest_addm_reports_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_addm_reports_response_details.go b/opsi/ingest_addm_reports_response_details.go index f967d85ae6..ce81d40dc7 100644 --- a/opsi/ingest_addm_reports_response_details.go +++ b/opsi/ingest_addm_reports_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_database_configuration_details.go b/opsi/ingest_database_configuration_details.go index 2ef2037625..d2dc39987b 100644 --- a/opsi/ingest_database_configuration_details.go +++ b/opsi/ingest_database_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_database_configuration_response_details.go b/opsi/ingest_database_configuration_response_details.go index beb40bac6a..2d472f8369 100644 --- a/opsi/ingest_database_configuration_response_details.go +++ b/opsi/ingest_database_configuration_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_host_configuration_details.go b/opsi/ingest_host_configuration_details.go index a2f25c2e8c..fa4fa81af0 100644 --- a/opsi/ingest_host_configuration_details.go +++ b/opsi/ingest_host_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_host_configuration_response_details.go b/opsi/ingest_host_configuration_response_details.go index a10a8b48ac..d6b86219ac 100644 --- a/opsi/ingest_host_configuration_response_details.go +++ b/opsi/ingest_host_configuration_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_host_metrics_details.go b/opsi/ingest_host_metrics_details.go index 79176326ef..d4dc33f215 100644 --- a/opsi/ingest_host_metrics_details.go +++ b/opsi/ingest_host_metrics_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_host_metrics_response_details.go b/opsi/ingest_host_metrics_response_details.go index 6f2348c7d2..9f2230ef86 100644 --- a/opsi/ingest_host_metrics_response_details.go +++ b/opsi/ingest_host_metrics_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_my_sql_sql_text_details.go b/opsi/ingest_my_sql_sql_text_details.go index 60bbb53c58..df0bf4aee3 100644 --- a/opsi/ingest_my_sql_sql_text_details.go +++ b/opsi/ingest_my_sql_sql_text_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_my_sql_sql_text_response_details.go b/opsi/ingest_my_sql_sql_text_response_details.go index 0f2c32a4ba..f0b42cc940 100644 --- a/opsi/ingest_my_sql_sql_text_response_details.go +++ b/opsi/ingest_my_sql_sql_text_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_bucket_details.go b/opsi/ingest_sql_bucket_details.go index 114ac04df3..63c5e7394c 100644 --- a/opsi/ingest_sql_bucket_details.go +++ b/opsi/ingest_sql_bucket_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_bucket_response_details.go b/opsi/ingest_sql_bucket_response_details.go index e6bb9ecbe4..0a996ce324 100644 --- a/opsi/ingest_sql_bucket_response_details.go +++ b/opsi/ingest_sql_bucket_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_plan_lines_details.go b/opsi/ingest_sql_plan_lines_details.go index 324df37dfc..1be660afc8 100644 --- a/opsi/ingest_sql_plan_lines_details.go +++ b/opsi/ingest_sql_plan_lines_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_plan_lines_response_details.go b/opsi/ingest_sql_plan_lines_response_details.go index 0064c5fe93..320db297a6 100644 --- a/opsi/ingest_sql_plan_lines_response_details.go +++ b/opsi/ingest_sql_plan_lines_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_stats_details.go b/opsi/ingest_sql_stats_details.go index 87ed408349..c990c66c67 100644 --- a/opsi/ingest_sql_stats_details.go +++ b/opsi/ingest_sql_stats_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_stats_response_details.go b/opsi/ingest_sql_stats_response_details.go index fc1befef28..c5ac113afa 100644 --- a/opsi/ingest_sql_stats_response_details.go +++ b/opsi/ingest_sql_stats_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_text_details.go b/opsi/ingest_sql_text_details.go index f3992fed2b..58ac52da5b 100644 --- a/opsi/ingest_sql_text_details.go +++ b/opsi/ingest_sql_text_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ingest_sql_text_response_details.go b/opsi/ingest_sql_text_response_details.go index d7410c563c..743fef6874 100644 --- a/opsi/ingest_sql_text_response_details.go +++ b/opsi/ingest_sql_text_response_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/instance_metrics.go b/opsi/instance_metrics.go index c0862bfab5..664c430498 100644 --- a/opsi/instance_metrics.go +++ b/opsi/instance_metrics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/lifecycle_state.go b/opsi/lifecycle_state.go index 1ecd6a80be..19d48d12dd 100644 --- a/opsi/lifecycle_state.go +++ b/opsi/lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/list_host_configurations_request_response.go b/opsi/list_host_configurations_request_response.go index 3919a3805a..b0eeb66a48 100644 --- a/opsi/list_host_configurations_request_response.go +++ b/opsi/list_host_configurations_request_response.go @@ -96,6 +96,9 @@ type ListHostConfigurationsRequest struct { // Optional list of Exadata Insight VM cluster name. VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -144,6 +147,12 @@ func (request ListHostConfigurationsRequest) ValidateEnumValue() (bool, error) { if _, ok := GetMappingListHostConfigurationsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListHostConfigurationsSortByEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/list_hosted_entities_request_response.go b/opsi/list_hosted_entities_request_response.go index 4889068256..981cfe416e 100644 --- a/opsi/list_hosted_entities_request_response.go +++ b/opsi/list_hosted_entities_request_response.go @@ -81,6 +81,9 @@ type ListHostedEntitiesRequest struct { // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host (Compute Id) HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -129,6 +132,12 @@ func (request ListHostedEntitiesRequest) ValidateEnumValue() (bool, error) { if _, ok := GetMappingListHostedEntitiesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListHostedEntitiesSortByEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/list_news_reports_request_response.go b/opsi/list_news_reports_request_response.go index 2dfb8a18c1..cba494593f 100644 --- a/opsi/list_news_reports_request_response.go +++ b/opsi/list_news_reports_request_response.go @@ -21,7 +21,7 @@ type ListNewsReportsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // Unique Operations Insights news report identifier + // Unique Ops Insights news report identifier NewsReportId *string `mandatory:"false" contributesTo:"query" name:"newsReportId"` // Resource Status diff --git a/opsi/list_objects.go b/opsi/list_objects.go index 3c77399efa..fc3aef5867 100644 --- a/opsi/list_objects.go +++ b/opsi/list_objects.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/list_operations_insights_warehouses_request_response.go b/opsi/list_operations_insights_warehouses_request_response.go index 8fa78e123e..b035bd89e0 100644 --- a/opsi/list_operations_insights_warehouses_request_response.go +++ b/opsi/list_operations_insights_warehouses_request_response.go @@ -24,7 +24,7 @@ type ListOperationsInsightsWarehousesRequest struct { // A filter to return only resources that match the entire display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Lifecycle states diff --git a/opsi/macs_managed_cloud_host_configuration_summary.go b/opsi/macs_managed_cloud_host_configuration_summary.go index 3857c5a7d1..766a8d8173 100644 --- a/opsi/macs_managed_cloud_host_configuration_summary.go +++ b/opsi/macs_managed_cloud_host_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/macs_managed_cloud_host_insight.go b/opsi/macs_managed_cloud_host_insight.go index 863dfe4968..2d53429900 100644 --- a/opsi/macs_managed_cloud_host_insight.go +++ b/opsi/macs_managed_cloud_host_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -50,7 +50,7 @@ type MacsManagedCloudHostInsight struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. diff --git a/opsi/macs_managed_cloud_host_insight_summary.go b/opsi/macs_managed_cloud_host_insight_summary.go index 06ce7bdcb3..3f98fc2c2b 100644 --- a/opsi/macs_managed_cloud_host_insight_summary.go +++ b/opsi/macs_managed_cloud_host_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -39,7 +39,7 @@ type MacsManagedCloudHostInsightSummary struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. @@ -75,7 +75,7 @@ type MacsManagedCloudHostInsightSummary struct { // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX]. PlatformType MacsManagedCloudHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` - // Indicates the status of a host insight in Operations Insights + // Indicates the status of a host insight in Ops Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the host. diff --git a/opsi/macs_managed_external_database_configuration_summary.go b/opsi/macs_managed_external_database_configuration_summary.go index 7c08a609a6..846b9ff92a 100644 --- a/opsi/macs_managed_external_database_configuration_summary.go +++ b/opsi/macs_managed_external_database_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type MacsManagedExternalDatabaseConfigurationSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. diff --git a/opsi/macs_managed_external_database_insight.go b/opsi/macs_managed_external_database_insight.go index b6cbaf1a46..992c2d0050 100644 --- a/opsi/macs_managed_external_database_insight.go +++ b/opsi/macs_managed_external_database_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -47,7 +47,7 @@ type MacsManagedExternalDatabaseInsight struct { // OCI database resource type DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/macs_managed_external_database_insight_summary.go b/opsi/macs_managed_external_database_insight_summary.go index 9192a1effd..b571a93200 100644 --- a/opsi/macs_managed_external_database_insight_summary.go +++ b/opsi/macs_managed_external_database_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -36,7 +36,7 @@ type MacsManagedExternalDatabaseInsightSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/macs_managed_external_host_configuration_summary.go b/opsi/macs_managed_external_host_configuration_summary.go index 29116baaf7..fe3e67f738 100644 --- a/opsi/macs_managed_external_host_configuration_summary.go +++ b/opsi/macs_managed_external_host_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/macs_managed_external_host_insight.go b/opsi/macs_managed_external_host_insight.go index 13792e24bc..f909f52e8e 100644 --- a/opsi/macs_managed_external_host_insight.go +++ b/opsi/macs_managed_external_host_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -47,7 +47,7 @@ type MacsManagedExternalHostInsight struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. diff --git a/opsi/macs_managed_external_host_insight_summary.go b/opsi/macs_managed_external_host_insight_summary.go index 0c541de592..6341cef2c0 100644 --- a/opsi/macs_managed_external_host_insight_summary.go +++ b/opsi/macs_managed_external_host_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -36,7 +36,7 @@ type MacsManagedExternalHostInsightSummary struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. @@ -72,7 +72,7 @@ type MacsManagedExternalHostInsightSummary struct { // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX]. PlatformType MacsManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` - // Indicates the status of a host insight in Operations Insights + // Indicates the status of a host insight in Ops Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the host. diff --git a/opsi/my_sql_sql_text.go b/opsi/my_sql_sql_text.go index f2cc58b030..a3dd6ca226 100644 --- a/opsi/my_sql_sql_text.go +++ b/opsi/my_sql_sql_text.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/network_usage_trend.go b/opsi/network_usage_trend.go index 43f2becad3..066584edee 100644 --- a/opsi/network_usage_trend.go +++ b/opsi/network_usage_trend.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/network_usage_trend_aggregation.go b/opsi/network_usage_trend_aggregation.go index f8a9d665ce..b2b1c31c73 100644 --- a/opsi/network_usage_trend_aggregation.go +++ b/opsi/network_usage_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_content_types.go b/opsi/news_content_types.go index 20820763c1..773fc3f0b3 100644 --- a/opsi/news_content_types.go +++ b/opsi/news_content_types.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_content_types_resource.go b/opsi/news_content_types_resource.go index 04d59fe482..4abef6be40 100644 --- a/opsi/news_content_types_resource.go +++ b/opsi/news_content_types_resource.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_frequency.go b/opsi/news_frequency.go index 684b2bda86..56479dac54 100644 --- a/opsi/news_frequency.go +++ b/opsi/news_frequency.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_locale.go b/opsi/news_locale.go index 53a0d4e247..b8f81b8b78 100644 --- a/opsi/news_locale.go +++ b/opsi/news_locale.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_report.go b/opsi/news_report.go index 1cfcbaf16c..6c9c7541e2 100644 --- a/opsi/news_report.go +++ b/opsi/news_report.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -55,7 +55,7 @@ type NewsReport struct { // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` - // Indicates the status of a news report in Operations Insights. + // Indicates the status of a news report in Ops Insights. Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The time the the news report was first enabled. An RFC3339 formatted datetime string. diff --git a/opsi/news_report_collection.go b/opsi/news_report_collection.go index ceedcf20d7..484cef8486 100644 --- a/opsi/news_report_collection.go +++ b/opsi/news_report_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_report_summary.go b/opsi/news_report_summary.go index 55ef78a37d..992245a13c 100644 --- a/opsi/news_report_summary.go +++ b/opsi/news_report_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -55,7 +55,7 @@ type NewsReportSummary struct { // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` - // Indicates the status of a news report in Operations Insights. + // Indicates the status of a news report in Ops Insights. Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The time the the news report was first enabled. An RFC3339 formatted datetime string. diff --git a/opsi/news_reports.go b/opsi/news_reports.go index c7c2591128..e006bca6cb 100644 --- a/opsi/news_reports.go +++ b/opsi/news_reports.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/news_sql_insights_content_types_resource.go b/opsi/news_sql_insights_content_types_resource.go index 108e76f682..ce1525e0ed 100644 --- a/opsi/news_sql_insights_content_types_resource.go +++ b/opsi/news_sql_insights_content_types_resource.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/object_summary.go b/opsi/object_summary.go index a8ce2c9f35..2f9a933255 100644 --- a/opsi/object_summary.go +++ b/opsi/object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operation_status.go b/opsi/operation_status.go index 26c52219a4..5f2d310b84 100644 --- a/opsi/operation_status.go +++ b/opsi/operation_status.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operation_type.go b/opsi/operation_type.go index 7b0eec7c6f..384d8b4312 100644 --- a/opsi/operation_type.go +++ b/opsi/operation_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_private_endpoint.go b/opsi/operations_insights_private_endpoint.go index 28c34dad63..b1a3fca700 100644 --- a/opsi/operations_insights_private_endpoint.go +++ b/opsi/operations_insights_private_endpoint.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -53,7 +53,7 @@ type OperationsInsightsPrivateEndpoint struct { // A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection. PrivateEndpointStatusDetails *string `mandatory:"false" json:"privateEndpointStatusDetails"` - // The flag is to identify if private endpoint is used for rac database or not + // The flag is to identify if private endpoint is used for rac database or not. This flag is deprecated and no longer is used. IsUsedForRacDbs *bool `mandatory:"false" json:"isUsedForRacDbs"` // The OCIDs of the network security groups that the private endpoint belongs to. diff --git a/opsi/operations_insights_private_endpoint_collection.go b/opsi/operations_insights_private_endpoint_collection.go index 25b01cfcff..8511fda543 100644 --- a/opsi/operations_insights_private_endpoint_collection.go +++ b/opsi/operations_insights_private_endpoint_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_private_endpoint_lifecycle_state.go b/opsi/operations_insights_private_endpoint_lifecycle_state.go index cc1277b467..9c05f713ef 100644 --- a/opsi/operations_insights_private_endpoint_lifecycle_state.go +++ b/opsi/operations_insights_private_endpoint_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_private_endpoint_summary.go b/opsi/operations_insights_private_endpoint_summary.go index a87cf52f16..a7f6995b0f 100644 --- a/opsi/operations_insights_private_endpoint_summary.go +++ b/opsi/operations_insights_private_endpoint_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -41,7 +41,7 @@ type OperationsInsightsPrivateEndpointSummary struct { // Private endpoint lifecycle states LifecycleState OperationsInsightsPrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The flag to identify if private endpoint is used for rac database or not + // The flag to identify if private endpoint is used for rac database or not. This flag is deprecated and no longer is used. IsUsedForRacDbs *bool `mandatory:"false" json:"isUsedForRacDbs"` // The description of the private endpoint. diff --git a/opsi/operations_insights_warehouse.go b/opsi/operations_insights_warehouse.go index 11b2a21834..01f3c53379 100644 --- a/opsi/operations_insights_warehouse.go +++ b/opsi/operations_insights_warehouse.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -26,7 +26,7 @@ type OperationsInsightsWarehouse struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // User-friedly name of Operations Insights Warehouse that does not have to be unique. + // User-friedly name of Ops Insights Warehouse that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Number of OCPUs allocated to OPSI Warehouse ADW. @@ -50,10 +50,10 @@ type OperationsInsightsWarehouse struct { // OCID of the dynamic group created for the warehouse DynamicGroupId *string `mandatory:"false" json:"dynamicGroupId"` - // Tenancy Identifier of Operations Insights service + // Tenancy Identifier of Ops Insights service OperationsInsightsTenancyId *string `mandatory:"false" json:"operationsInsightsTenancyId"` - // The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string + // The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string TimeLastWalletRotated *common.SDKTime `mandatory:"false" json:"timeLastWalletRotated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. diff --git a/opsi/operations_insights_warehouse_lifecycle_state.go b/opsi/operations_insights_warehouse_lifecycle_state.go index 345dfc7ece..f1d9f2969f 100644 --- a/opsi/operations_insights_warehouse_lifecycle_state.go +++ b/opsi/operations_insights_warehouse_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_warehouse_summary.go b/opsi/operations_insights_warehouse_summary.go index e8185f9a80..bae41c5c3c 100644 --- a/opsi/operations_insights_warehouse_summary.go +++ b/opsi/operations_insights_warehouse_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -26,7 +26,7 @@ type OperationsInsightsWarehouseSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // User-friedly name of Operations Insights Warehouse that does not have to be unique. + // User-friedly name of Ops Insights Warehouse that does not have to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Number of OCPUs allocated to OPSI Warehouse ADW. @@ -53,10 +53,10 @@ type OperationsInsightsWarehouseSummary struct { // OCID of the dynamic group created for the warehouse DynamicGroupId *string `mandatory:"false" json:"dynamicGroupId"` - // Tenancy Identifier of Operations Insights service + // Tenancy Identifier of Ops Insights service OperationsInsightsTenancyId *string `mandatory:"false" json:"operationsInsightsTenancyId"` - // The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string + // The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string TimeLastWalletRotated *common.SDKTime `mandatory:"false" json:"timeLastWalletRotated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. diff --git a/opsi/operations_insights_warehouse_summary_collection.go b/opsi/operations_insights_warehouse_summary_collection.go index 794f9226ef..d0e73f1368 100644 --- a/opsi/operations_insights_warehouse_summary_collection.go +++ b/opsi/operations_insights_warehouse_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_warehouse_user.go b/opsi/operations_insights_warehouse_user.go index 7e7b835c1f..e193c2654a 100644 --- a/opsi/operations_insights_warehouse_user.go +++ b/opsi/operations_insights_warehouse_user.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -29,7 +29,7 @@ type OperationsInsightsWarehouseUser struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. Name *string `mandatory:"true" json:"name"` // Indicate whether user has access to AWR data. @@ -41,7 +41,7 @@ type OperationsInsightsWarehouseUser struct { // Possible lifecycle states LifecycleState OperationsInsightsWarehouseUserLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. ConnectionPassword *string `mandatory:"false" json:"connectionPassword"` // Indicate whether user has access to EM data. diff --git a/opsi/operations_insights_warehouse_user_lifecycle_state.go b/opsi/operations_insights_warehouse_user_lifecycle_state.go index bfcf898287..d624ed41a5 100644 --- a/opsi/operations_insights_warehouse_user_lifecycle_state.go +++ b/opsi/operations_insights_warehouse_user_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_warehouse_user_summary.go b/opsi/operations_insights_warehouse_user_summary.go index dcbd2e53d6..7d2d5d7f83 100644 --- a/opsi/operations_insights_warehouse_user_summary.go +++ b/opsi/operations_insights_warehouse_user_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -29,7 +29,7 @@ type OperationsInsightsWarehouseUserSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. Name *string `mandatory:"true" json:"name"` // Indicate whether user has access to AWR data. @@ -41,7 +41,7 @@ type OperationsInsightsWarehouseUserSummary struct { // Possible lifecycle states LifecycleState OperationsInsightsWarehouseUserLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. ConnectionPassword *string `mandatory:"false" json:"connectionPassword"` // Indicate whether user has access to EM data. diff --git a/opsi/operations_insights_warehouse_user_summary_collection.go b/opsi/operations_insights_warehouse_user_summary_collection.go index d866af917e..e7d5e6638c 100644 --- a/opsi/operations_insights_warehouse_user_summary_collection.go +++ b/opsi/operations_insights_warehouse_user_summary_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_warehouse_users.go b/opsi/operations_insights_warehouse_users.go index 2e0107022c..14c2f496ff 100644 --- a/opsi/operations_insights_warehouse_users.go +++ b/opsi/operations_insights_warehouse_users.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/operations_insights_warehouses.go b/opsi/operations_insights_warehouses.go index 12134d2e61..54a541d49c 100644 --- a/opsi/operations_insights_warehouses.go +++ b/opsi/operations_insights_warehouses.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -17,10 +17,10 @@ import ( "strings" ) -// OperationsInsightsWarehouses Logical grouping used for Operations Insights Warehouse operations. +// OperationsInsightsWarehouses Logical grouping used for Ops Insights Warehouse operations. type OperationsInsightsWarehouses struct { - // Operations Insights Warehouse Object. + // Ops Insights Warehouse Object. OperationsInsightsWarehouses *interface{} `mandatory:"false" json:"operationsInsightsWarehouses"` } diff --git a/opsi/opsi_configuration.go b/opsi/opsi_configuration.go index 6203bf7812..b4fd6c012f 100644 --- a/opsi/opsi_configuration.go +++ b/opsi/opsi_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configuration_basic_configuration_item_summary.go b/opsi/opsi_configuration_basic_configuration_item_summary.go index d07d2b8e8b..3a85826050 100644 --- a/opsi/opsi_configuration_basic_configuration_item_summary.go +++ b/opsi/opsi_configuration_basic_configuration_item_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -18,7 +18,7 @@ import ( "strings" ) -// OpsiConfigurationBasicConfigurationItemSummary Basic configuration item summary. Value and defaultValue fields will contain the custom value stored in the resource and default value from Operations Insights respectively. +// OpsiConfigurationBasicConfigurationItemSummary Basic configuration item summary. Value and defaultValue fields will contain the custom value stored in the resource and default value from Ops Insights respectively. type OpsiConfigurationBasicConfigurationItemSummary struct { // Name of configuration item. diff --git a/opsi/opsi_configuration_configuration_item_summary.go b/opsi/opsi_configuration_configuration_item_summary.go index de620f4a63..9cfee3247c 100644 --- a/opsi/opsi_configuration_configuration_item_summary.go +++ b/opsi/opsi_configuration_configuration_item_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configuration_lifecycle_state.go b/opsi/opsi_configuration_lifecycle_state.go index 8572076a0d..13af7eb139 100644 --- a/opsi/opsi_configuration_lifecycle_state.go +++ b/opsi/opsi_configuration_lifecycle_state.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configuration_summary.go b/opsi/opsi_configuration_summary.go index 78cec7245a..ee7e38b064 100644 --- a/opsi/opsi_configuration_summary.go +++ b/opsi/opsi_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configuration_type.go b/opsi/opsi_configuration_type.go index e40007b859..865744a424 100644 --- a/opsi/opsi_configuration_type.go +++ b/opsi/opsi_configuration_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configurations.go b/opsi/opsi_configurations.go index d34fae8e72..c36af95133 100644 --- a/opsi/opsi_configurations.go +++ b/opsi/opsi_configurations.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_configurations_collection.go b/opsi/opsi_configurations_collection.go index af8faf86c3..54c413a4aa 100644 --- a/opsi/opsi_configurations_collection.go +++ b/opsi/opsi_configurations_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object.go b/opsi/opsi_data_object.go index 9ada8c7708..3a80980375 100644 --- a/opsi/opsi_data_object.go +++ b/opsi/opsi_data_object.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_details_in_query.go b/opsi/opsi_data_object_details_in_query.go index 6d8fa6d633..f8ad01ee66 100644 --- a/opsi/opsi_data_object_details_in_query.go +++ b/opsi/opsi_data_object_details_in_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_details_target.go b/opsi/opsi_data_object_details_target.go index 1469d3e5b8..9663923e43 100644 --- a/opsi/opsi_data_object_details_target.go +++ b/opsi/opsi_data_object_details_target.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_query_param.go b/opsi/opsi_data_object_query_param.go index 55e93716fa..4cf1b7cb18 100644 --- a/opsi/opsi_data_object_query_param.go +++ b/opsi/opsi_data_object_query_param.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_summary.go b/opsi/opsi_data_object_summary.go index bf3c9006e4..8eee7fe5b0 100644 --- a/opsi/opsi_data_object_summary.go +++ b/opsi/opsi_data_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_supported_query_param.go b/opsi/opsi_data_object_supported_query_param.go index 1823ac1e10..21132b7853 100644 --- a/opsi/opsi_data_object_supported_query_param.go +++ b/opsi/opsi_data_object_supported_query_param.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_type.go b/opsi/opsi_data_object_type.go index 75040b2e8b..25cf3b8ac1 100644 --- a/opsi/opsi_data_object_type.go +++ b/opsi/opsi_data_object_type.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_object_type_opsi_data_object_details_in_query.go b/opsi/opsi_data_object_type_opsi_data_object_details_in_query.go index a9c19b9c13..b636167040 100644 --- a/opsi/opsi_data_object_type_opsi_data_object_details_in_query.go +++ b/opsi/opsi_data_object_type_opsi_data_object_details_in_query.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_objects.go b/opsi/opsi_data_objects.go index 21795d9538..cef7158bd1 100644 --- a/opsi/opsi_data_objects.go +++ b/opsi/opsi_data_objects.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_data_objects_collection.go b/opsi/opsi_data_objects_collection.go index f64c8266d5..5b4637ace5 100644 --- a/opsi/opsi_data_objects_collection.go +++ b/opsi/opsi_data_objects_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_operationsinsights_client.go b/opsi/opsi_operationsinsights_client.go index cbf05275f0..1222ad0468 100644 --- a/opsi/opsi_operationsinsights_client.go +++ b/opsi/opsi_operationsinsights_client.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -147,7 +147,7 @@ func (client OperationsInsightsClient) addExadataInsightMembers(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/AddExadataInsightMembers" err = common.PostProcessServiceError(err, "OperationsInsights", "AddExadataInsightMembers", apiReferenceLink) return response, err } @@ -210,7 +210,7 @@ func (client OperationsInsightsClient) changeAutonomousDatabaseInsightAdvancedFe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangeAutonomousDatabaseInsightAdvancedFeatures" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -273,7 +273,7 @@ func (client OperationsInsightsClient) changeAwrHubSourceCompartment(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/ChangeAwrHubSourceCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeAwrHubSourceCompartment", apiReferenceLink) return response, err } @@ -336,7 +336,7 @@ func (client OperationsInsightsClient) changeDatabaseInsightCompartment(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangeDatabaseInsightCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeDatabaseInsightCompartment", apiReferenceLink) return response, err } @@ -394,7 +394,7 @@ func (client OperationsInsightsClient) changeEnterpriseManagerBridgeCompartment( defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ChangeEnterpriseManagerBridgeCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeEnterpriseManagerBridgeCompartment", apiReferenceLink) return response, err } @@ -457,7 +457,7 @@ func (client OperationsInsightsClient) changeExadataInsightCompartment(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ChangeExadataInsightCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeExadataInsightCompartment", apiReferenceLink) return response, err } @@ -520,7 +520,7 @@ func (client OperationsInsightsClient) changeHostInsightCompartment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ChangeHostInsightCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeHostInsightCompartment", apiReferenceLink) return response, err } @@ -583,7 +583,7 @@ func (client OperationsInsightsClient) changeNewsReportCompartment(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/ChangeNewsReportCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeNewsReportCompartment", apiReferenceLink) return response, err } @@ -646,7 +646,7 @@ func (client OperationsInsightsClient) changeOperationsInsightsPrivateEndpointCo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/ChangeOperationsInsightsPrivateEndpointCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOperationsInsightsPrivateEndpointCompartment", apiReferenceLink) return response, err } @@ -709,7 +709,7 @@ func (client OperationsInsightsClient) changeOperationsInsightsWarehouseCompartm defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/ChangeOperationsInsightsWarehouseCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOperationsInsightsWarehouseCompartment", apiReferenceLink) return response, err } @@ -772,7 +772,7 @@ func (client OperationsInsightsClient) changeOpsiConfigurationCompartment(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ChangeOpsiConfigurationCompartment" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOpsiConfigurationCompartment", apiReferenceLink) return response, err } @@ -835,7 +835,7 @@ func (client OperationsInsightsClient) changePeComanagedDatabaseInsight(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangePeComanagedDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangePeComanagedDatabaseInsight", apiReferenceLink) return response, err } @@ -899,7 +899,7 @@ func (client OperationsInsightsClient) createAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/CreateAwrHub" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateAwrHub", apiReferenceLink) return response, err } @@ -962,7 +962,7 @@ func (client OperationsInsightsClient) createAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/CreateAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateAwrHubSource", apiReferenceLink) return response, err } @@ -1025,7 +1025,7 @@ func (client OperationsInsightsClient) createDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/CreateDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateDatabaseInsight", apiReferenceLink) return response, err } @@ -1088,7 +1088,7 @@ func (client OperationsInsightsClient) createEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/CreateEnterpriseManagerBridge" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -1151,7 +1151,7 @@ func (client OperationsInsightsClient) createExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/CreateExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateExadataInsight", apiReferenceLink) return response, err } @@ -1160,7 +1160,7 @@ func (client OperationsInsightsClient) createExadataInsight(ctx context.Context, return response, err } -// CreateHostInsight Create a Host Insight resource for a host in Operations Insights. The host will be enabled in Operations Insights. Host metric collection and analysis will be started. +// CreateHostInsight Create a Host Insight resource for a host in Ops Insights. The host will be enabled in Ops Insights. Host metric collection and analysis will be started. // // # See also // @@ -1214,7 +1214,7 @@ func (client OperationsInsightsClient) createHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/CreateHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateHostInsight", apiReferenceLink) return response, err } @@ -1223,7 +1223,7 @@ func (client OperationsInsightsClient) createHostInsight(ctx context.Context, re return response, err } -// CreateNewsReport Create a news report in Operations Insights. The report will be enabled in Operations Insights. Insights will be emailed as per selected frequency. +// CreateNewsReport Create a news report in Ops Insights. The report will be enabled in Ops Insights. Insights will be emailed as per selected frequency. // // # See also // @@ -1277,7 +1277,7 @@ func (client OperationsInsightsClient) createNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/CreateNewsReport" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateNewsReport", apiReferenceLink) return response, err } @@ -1286,7 +1286,7 @@ func (client OperationsInsightsClient) createNewsReport(ctx context.Context, req return response, err } -// CreateOperationsInsightsPrivateEndpoint Create a private endpoint resource for the tenant in Operations Insights. +// CreateOperationsInsightsPrivateEndpoint Create a private endpoint resource for the tenant in Ops Insights. // This resource will be created in customer compartment. // // # See also @@ -1341,7 +1341,7 @@ func (client OperationsInsightsClient) createOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/CreateOperationsInsightsPrivateEndpoint" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -1350,7 +1350,7 @@ func (client OperationsInsightsClient) createOperationsInsightsPrivateEndpoint(c return response, err } -// CreateOperationsInsightsWarehouse Create a Operations Insights Warehouse resource for the tenant in Operations Insights. New ADW will be provisioned for this tenant. +// CreateOperationsInsightsWarehouse Create a Ops Insights Warehouse resource for the tenant in Ops Insights. New ADW will be provisioned for this tenant. // There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. If the 'opsi-warehouse-type' // header is passed to the API, a warehouse resource without ADW or Schema provisioning is created. // @@ -1406,7 +1406,7 @@ func (client OperationsInsightsClient) createOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/CreateOperationsInsightsWarehouse" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -1470,7 +1470,7 @@ func (client OperationsInsightsClient) createOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/CreateOperationsInsightsWarehouseUser" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -1533,7 +1533,7 @@ func (client OperationsInsightsClient) createOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/CreateOpsiConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOpsiConfiguration", apiReferenceLink) return response, err } @@ -1591,7 +1591,7 @@ func (client OperationsInsightsClient) deleteAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/DeleteAwrHub" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHub", apiReferenceLink) return response, err } @@ -1649,7 +1649,7 @@ func (client OperationsInsightsClient) deleteAwrHubObject(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/DeleteAwrHubObject" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHubObject", apiReferenceLink) return response, err } @@ -1707,7 +1707,7 @@ func (client OperationsInsightsClient) deleteAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/DeleteAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHubSource", apiReferenceLink) return response, err } @@ -1765,7 +1765,7 @@ func (client OperationsInsightsClient) deleteDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DeleteDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteDatabaseInsight", apiReferenceLink) return response, err } @@ -1823,7 +1823,7 @@ func (client OperationsInsightsClient) deleteEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/DeleteEnterpriseManagerBridge" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -1881,7 +1881,7 @@ func (client OperationsInsightsClient) deleteExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/DeleteExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteExadataInsight", apiReferenceLink) return response, err } @@ -1939,7 +1939,7 @@ func (client OperationsInsightsClient) deleteHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/DeleteHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteHostInsight", apiReferenceLink) return response, err } @@ -1997,7 +1997,7 @@ func (client OperationsInsightsClient) deleteNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/DeleteNewsReport" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteNewsReport", apiReferenceLink) return response, err } @@ -2055,7 +2055,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/DeleteOperationsInsightsPrivateEndpoint" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -2116,7 +2116,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/DeleteOperationsInsightsWarehouse" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -2174,7 +2174,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/DeleteOperationsInsightsWarehouseUser" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -2232,7 +2232,7 @@ func (client OperationsInsightsClient) deleteOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/DeleteOpsiConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOpsiConfiguration", apiReferenceLink) return response, err } @@ -2295,7 +2295,7 @@ func (client OperationsInsightsClient) disableAutonomousDatabaseInsightAdvancedF defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DisableAutonomousDatabaseInsightAdvancedFeatures" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -2358,7 +2358,7 @@ func (client OperationsInsightsClient) disableAwrHubSource(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/DisableAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableAwrHubSource", apiReferenceLink) return response, err } @@ -2421,7 +2421,7 @@ func (client OperationsInsightsClient) disableDatabaseInsight(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DisableDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableDatabaseInsight", apiReferenceLink) return response, err } @@ -2484,7 +2484,7 @@ func (client OperationsInsightsClient) disableExadataInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/DisableExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableExadataInsight", apiReferenceLink) return response, err } @@ -2493,7 +2493,7 @@ func (client OperationsInsightsClient) disableExadataInsight(ctx context.Context return response, err } -// DisableHostInsight Disables a host in Operations Insights. Host metric collection and analysis will be stopped. +// DisableHostInsight Disables a host in Ops Insights. Host metric collection and analysis will be stopped. // // # See also // @@ -2547,7 +2547,7 @@ func (client OperationsInsightsClient) disableHostInsight(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/DisableHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableHostInsight", apiReferenceLink) return response, err } @@ -2609,7 +2609,7 @@ func (client OperationsInsightsClient) downloadOperationsInsightsWarehouseWallet httpResponse, err = client.Call(ctx, &httpRequest) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/DownloadOperationsInsightsWarehouseWallet" err = common.PostProcessServiceError(err, "OperationsInsights", "DownloadOperationsInsightsWarehouseWallet", apiReferenceLink) return response, err } @@ -2672,7 +2672,7 @@ func (client OperationsInsightsClient) enableAutonomousDatabaseInsightAdvancedFe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/EnableAutonomousDatabaseInsightAdvancedFeatures" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -2735,7 +2735,7 @@ func (client OperationsInsightsClient) enableAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/EnableAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableAwrHubSource", apiReferenceLink) return response, err } @@ -2798,7 +2798,7 @@ func (client OperationsInsightsClient) enableDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/EnableDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableDatabaseInsight", apiReferenceLink) return response, err } @@ -2861,7 +2861,7 @@ func (client OperationsInsightsClient) enableExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/EnableExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableExadataInsight", apiReferenceLink) return response, err } @@ -2870,7 +2870,7 @@ func (client OperationsInsightsClient) enableExadataInsight(ctx context.Context, return response, err } -// EnableHostInsight Enables a host in Operations Insights. Host metric collection and analysis will be started. +// EnableHostInsight Enables a host in Ops Insights. Host metric collection and analysis will be started. // // # See also // @@ -2924,7 +2924,7 @@ func (client OperationsInsightsClient) enableHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/EnableHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableHostInsight", apiReferenceLink) return response, err } @@ -2982,7 +2982,7 @@ func (client OperationsInsightsClient) getAwrDatabaseReport(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrDatabaseReport" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrDatabaseReport", apiReferenceLink) return response, err } @@ -3040,7 +3040,7 @@ func (client OperationsInsightsClient) getAwrDatabaseSqlReport(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrDatabaseSqlReport" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrDatabaseSqlReport", apiReferenceLink) return response, err } @@ -3098,7 +3098,7 @@ func (client OperationsInsightsClient) getAwrHub(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrHub" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHub", apiReferenceLink) return response, err } @@ -3155,7 +3155,7 @@ func (client OperationsInsightsClient) getAwrHubObject(ctx context.Context, requ httpResponse, err = client.Call(ctx, &httpRequest) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/GetAwrHubObject" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHubObject", apiReferenceLink) return response, err } @@ -3213,7 +3213,7 @@ func (client OperationsInsightsClient) getAwrHubSource(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/GetAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHubSource", apiReferenceLink) return response, err } @@ -3272,7 +3272,7 @@ func (client OperationsInsightsClient) getAwrReport(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrReport" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrReport", apiReferenceLink) return response, err } @@ -3330,7 +3330,7 @@ func (client OperationsInsightsClient) getDatabaseInsight(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/GetDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "GetDatabaseInsight", apiReferenceLink) return response, err } @@ -3388,7 +3388,7 @@ func (client OperationsInsightsClient) getEnterpriseManagerBridge(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/GetEnterpriseManagerBridge" err = common.PostProcessServiceError(err, "OperationsInsights", "GetEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -3446,7 +3446,7 @@ func (client OperationsInsightsClient) getExadataInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/GetExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "GetExadataInsight", apiReferenceLink) return response, err } @@ -3504,7 +3504,7 @@ func (client OperationsInsightsClient) getHostInsight(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/GetHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "GetHostInsight", apiReferenceLink) return response, err } @@ -3562,7 +3562,7 @@ func (client OperationsInsightsClient) getNewsReport(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/GetNewsReport" err = common.PostProcessServiceError(err, "OperationsInsights", "GetNewsReport", apiReferenceLink) return response, err } @@ -3620,7 +3620,7 @@ func (client OperationsInsightsClient) getOperationsInsightsPrivateEndpoint(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/GetOperationsInsightsPrivateEndpoint" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -3629,7 +3629,7 @@ func (client OperationsInsightsClient) getOperationsInsightsPrivateEndpoint(ctx return response, err } -// GetOperationsInsightsWarehouse Gets details of an Operations Insights Warehouse. +// GetOperationsInsightsWarehouse Gets details of an Ops Insights Warehouse. // There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. // // # See also @@ -3679,7 +3679,7 @@ func (client OperationsInsightsClient) getOperationsInsightsWarehouse(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/GetOperationsInsightsWarehouse" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -3737,7 +3737,7 @@ func (client OperationsInsightsClient) getOperationsInsightsWarehouseUser(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/GetOperationsInsightsWarehouseUser" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -3797,7 +3797,7 @@ func (client OperationsInsightsClient) getOpsiConfiguration(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/GetOpsiConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOpsiConfiguration", apiReferenceLink) return response, err } @@ -3855,7 +3855,7 @@ func (client OperationsInsightsClient) getOpsiDataObject(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/GetOpsiDataObject" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOpsiDataObject", apiReferenceLink) return response, err } @@ -3913,7 +3913,7 @@ func (client OperationsInsightsClient) getWorkRequest(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/GetWorkRequest" err = common.PostProcessServiceError(err, "OperationsInsights", "GetWorkRequest", apiReferenceLink) return response, err } @@ -3971,7 +3971,7 @@ func (client OperationsInsightsClient) headAwrHubObject(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/HeadAwrHubObject" err = common.PostProcessServiceError(err, "OperationsInsights", "HeadAwrHubObject", apiReferenceLink) return response, err } @@ -4035,7 +4035,7 @@ func (client OperationsInsightsClient) ingestAddmReports(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestAddmReports" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestAddmReports", apiReferenceLink) return response, err } @@ -4098,7 +4098,7 @@ func (client OperationsInsightsClient) ingestDatabaseConfiguration(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestDatabaseConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestDatabaseConfiguration", apiReferenceLink) return response, err } @@ -4161,7 +4161,7 @@ func (client OperationsInsightsClient) ingestHostConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/IngestHostConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestHostConfiguration", apiReferenceLink) return response, err } @@ -4224,7 +4224,7 @@ func (client OperationsInsightsClient) ingestHostMetrics(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/IngestHostMetrics" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestHostMetrics", apiReferenceLink) return response, err } @@ -4233,7 +4233,7 @@ func (client OperationsInsightsClient) ingestHostMetrics(ctx context.Context, re return response, err } -// IngestSqlBucket The sqlbucket endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline. +// IngestSqlBucket The sqlbucket endpoint takes in a JSON payload, persists it in Ops Insights ingest pipeline. // Either databaseId or id must be specified. // // # See also @@ -4288,7 +4288,7 @@ func (client OperationsInsightsClient) ingestSqlBucket(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlBucket" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlBucket", apiReferenceLink) return response, err } @@ -4352,7 +4352,7 @@ func (client OperationsInsightsClient) ingestSqlPlanLines(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlPlanLines" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlPlanLines", apiReferenceLink) return response, err } @@ -4361,7 +4361,7 @@ func (client OperationsInsightsClient) ingestSqlPlanLines(ctx context.Context, r return response, err } -// IngestSqlStats The SQL Stats endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline. +// IngestSqlStats The SQL Stats endpoint takes in a JSON payload, persists it in Ops Insights ingest pipeline. // Either databaseId or id must be specified. // // # See also @@ -4416,7 +4416,7 @@ func (client OperationsInsightsClient) ingestSqlStats(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlStats" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlStats", apiReferenceLink) return response, err } @@ -4481,7 +4481,7 @@ func (client OperationsInsightsClient) ingestSqlText(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlText" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlText", apiReferenceLink) return response, err } @@ -4539,7 +4539,7 @@ func (client OperationsInsightsClient) listAddmDbFindingCategories(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbFindingCategories" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbFindingCategories", apiReferenceLink) return response, err } @@ -4597,7 +4597,7 @@ func (client OperationsInsightsClient) listAddmDbFindingsTimeSeries(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbFindingsTimeSeries" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbFindingsTimeSeries", apiReferenceLink) return response, err } @@ -4655,7 +4655,7 @@ func (client OperationsInsightsClient) listAddmDbParameterCategories(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbParameterCategories" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbParameterCategories", apiReferenceLink) return response, err } @@ -4713,7 +4713,7 @@ func (client OperationsInsightsClient) listAddmDbRecommendationCategories(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbRecommendationCategories" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbRecommendationCategories", apiReferenceLink) return response, err } @@ -4771,7 +4771,7 @@ func (client OperationsInsightsClient) listAddmDbRecommendationsTimeSeries(ctx c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbRecommendationsTimeSeries" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbRecommendationsTimeSeries", apiReferenceLink) return response, err } @@ -4829,7 +4829,7 @@ func (client OperationsInsightsClient) listAddmDbs(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbs" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbs", apiReferenceLink) return response, err } @@ -4887,7 +4887,7 @@ func (client OperationsInsightsClient) listAwrDatabaseSnapshots(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrDatabaseSnapshots" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrDatabaseSnapshots", apiReferenceLink) return response, err } @@ -4945,7 +4945,7 @@ func (client OperationsInsightsClient) listAwrDatabases(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrDatabases" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrDatabases", apiReferenceLink) return response, err } @@ -5003,7 +5003,7 @@ func (client OperationsInsightsClient) listAwrHubObjects(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/ListAwrHubObjects" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubObjects", apiReferenceLink) return response, err } @@ -5061,7 +5061,7 @@ func (client OperationsInsightsClient) listAwrHubSources(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/ListAwrHubSources" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubSources", apiReferenceLink) return response, err } @@ -5119,7 +5119,7 @@ func (client OperationsInsightsClient) listAwrHubs(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrHubs" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubs", apiReferenceLink) return response, err } @@ -5178,7 +5178,7 @@ func (client OperationsInsightsClient) listAwrSnapshots(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrSnapshots" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrSnapshots", apiReferenceLink) return response, err } @@ -5237,7 +5237,7 @@ func (client OperationsInsightsClient) listDatabaseConfigurations(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListDatabaseConfigurations" err = common.PostProcessServiceError(err, "OperationsInsights", "ListDatabaseConfigurations", apiReferenceLink) return response, err } @@ -5296,7 +5296,7 @@ func (client OperationsInsightsClient) listDatabaseInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListDatabaseInsights" err = common.PostProcessServiceError(err, "OperationsInsights", "ListDatabaseInsights", apiReferenceLink) return response, err } @@ -5305,7 +5305,7 @@ func (client OperationsInsightsClient) listDatabaseInsights(ctx context.Context, return response, err } -// ListEnterpriseManagerBridges Gets a list of Operations Insights Enterprise Manager bridges. Either compartmentId or id must be specified. +// ListEnterpriseManagerBridges Gets a list of Ops Insights Enterprise Manager bridges. Either compartmentId or id must be specified. // When both compartmentId and compartmentIdInSubtree are specified, a list of bridges in that compartment and in all sub-compartments will be returned. // // # See also @@ -5355,7 +5355,7 @@ func (client OperationsInsightsClient) listEnterpriseManagerBridges(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ListEnterpriseManagerBridges" err = common.PostProcessServiceError(err, "OperationsInsights", "ListEnterpriseManagerBridges", apiReferenceLink) return response, err } @@ -5413,7 +5413,7 @@ func (client OperationsInsightsClient) listExadataConfigurations(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ListExadataConfigurations" err = common.PostProcessServiceError(err, "OperationsInsights", "ListExadataConfigurations", apiReferenceLink) return response, err } @@ -5472,7 +5472,7 @@ func (client OperationsInsightsClient) listExadataInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ListExadataInsights" err = common.PostProcessServiceError(err, "OperationsInsights", "ListExadataInsights", apiReferenceLink) return response, err } @@ -5531,7 +5531,7 @@ func (client OperationsInsightsClient) listHostConfigurations(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostConfigurations" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostConfigurations", apiReferenceLink) return response, err } @@ -5590,7 +5590,7 @@ func (client OperationsInsightsClient) listHostInsights(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostInsights" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostInsights", apiReferenceLink) return response, err } @@ -5648,7 +5648,7 @@ func (client OperationsInsightsClient) listHostedEntities(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostedEntities" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostedEntities", apiReferenceLink) return response, err } @@ -5710,7 +5710,7 @@ func (client OperationsInsightsClient) listImportableAgentEntities(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListImportableAgentEntities" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableAgentEntities", apiReferenceLink) return response, err } @@ -5774,7 +5774,7 @@ func (client OperationsInsightsClient) listImportableComputeEntities(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListImportableComputeEntities" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableComputeEntities", apiReferenceLink) return response, err } @@ -5832,7 +5832,7 @@ func (client OperationsInsightsClient) listImportableEnterpriseManagerEntities(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ListImportableEnterpriseManagerEntities" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableEnterpriseManagerEntities", apiReferenceLink) return response, err } @@ -5890,7 +5890,7 @@ func (client OperationsInsightsClient) listNewsReports(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReport/ListNewsReports" err = common.PostProcessServiceError(err, "OperationsInsights", "ListNewsReports", apiReferenceLink) return response, err } @@ -5948,7 +5948,7 @@ func (client OperationsInsightsClient) listOperationsInsightsPrivateEndpoints(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/ListOperationsInsightsPrivateEndpoints" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsPrivateEndpoints", apiReferenceLink) return response, err } @@ -6006,7 +6006,7 @@ func (client OperationsInsightsClient) listOperationsInsightsWarehouseUsers(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/ListOperationsInsightsWarehouseUsers" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsWarehouseUsers", apiReferenceLink) return response, err } @@ -6015,7 +6015,7 @@ func (client OperationsInsightsClient) listOperationsInsightsWarehouseUsers(ctx return response, err } -// ListOperationsInsightsWarehouses Gets a list of Operations Insights warehouses. Either compartmentId or id must be specified. +// ListOperationsInsightsWarehouses Gets a list of Ops Insights warehouses. Either compartmentId or id must be specified. // There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. // // # See also @@ -6065,7 +6065,7 @@ func (client OperationsInsightsClient) listOperationsInsightsWarehouses(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/ListOperationsInsightsWarehouses" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsWarehouses", apiReferenceLink) return response, err } @@ -6123,7 +6123,7 @@ func (client OperationsInsightsClient) listOpsiConfigurations(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ListOpsiConfigurations" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOpsiConfigurations", apiReferenceLink) return response, err } @@ -6181,7 +6181,7 @@ func (client OperationsInsightsClient) listOpsiDataObjects(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/ListOpsiDataObjects" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOpsiDataObjects", apiReferenceLink) return response, err } @@ -6240,7 +6240,7 @@ func (client OperationsInsightsClient) listSqlPlans(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlPlans" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlPlans", apiReferenceLink) return response, err } @@ -6299,7 +6299,7 @@ func (client OperationsInsightsClient) listSqlSearches(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlSearches" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlSearches", apiReferenceLink) return response, err } @@ -6357,7 +6357,7 @@ func (client OperationsInsightsClient) listSqlTexts(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlTexts" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlTexts", apiReferenceLink) return response, err } @@ -6415,7 +6415,7 @@ func (client OperationsInsightsClient) listWarehouseDataObjects(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiWarehouseDataObjects/ListWarehouseDataObjects" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWarehouseDataObjects", apiReferenceLink) return response, err } @@ -6473,7 +6473,7 @@ func (client OperationsInsightsClient) listWorkRequestErrors(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequestErrors" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequestErrors", apiReferenceLink) return response, err } @@ -6531,7 +6531,7 @@ func (client OperationsInsightsClient) listWorkRequestLogs(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequestLogs" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequestLogs", apiReferenceLink) return response, err } @@ -6589,7 +6589,7 @@ func (client OperationsInsightsClient) listWorkRequests(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequests" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequests", apiReferenceLink) return response, err } @@ -6657,7 +6657,7 @@ func (client OperationsInsightsClient) putAwrHubObject(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/PutAwrHubObject" err = common.PostProcessServiceError(err, "OperationsInsights", "PutAwrHubObject", apiReferenceLink) return response, err } @@ -6716,7 +6716,7 @@ func (client OperationsInsightsClient) queryOpsiDataObjectData(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/QueryOpsiDataObjectData" err = common.PostProcessServiceError(err, "OperationsInsights", "QueryOpsiDataObjectData", apiReferenceLink) return response, err } @@ -6775,7 +6775,7 @@ func (client OperationsInsightsClient) queryWarehouseDataObjectData(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiWarehouseDataObjects/QueryWarehouseDataObjectData" err = common.PostProcessServiceError(err, "OperationsInsights", "QueryWarehouseDataObjectData", apiReferenceLink) return response, err } @@ -6833,7 +6833,7 @@ func (client OperationsInsightsClient) rotateOperationsInsightsWarehouseWallet(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/RotateOperationsInsightsWarehouseWallet" err = common.PostProcessServiceError(err, "OperationsInsights", "RotateOperationsInsightsWarehouseWallet", apiReferenceLink) return response, err } @@ -6891,7 +6891,7 @@ func (client OperationsInsightsClient) summarizeAddmDbFindings(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbFindings" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbFindings", apiReferenceLink) return response, err } @@ -6951,7 +6951,7 @@ func (client OperationsInsightsClient) summarizeAddmDbParameterChanges(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbParameterChanges" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbParameterChanges", apiReferenceLink) return response, err } @@ -7012,7 +7012,7 @@ func (client OperationsInsightsClient) summarizeAddmDbParameters(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbParameters" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbParameters", apiReferenceLink) return response, err } @@ -7070,7 +7070,7 @@ func (client OperationsInsightsClient) summarizeAddmDbRecommendations(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbRecommendations" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbRecommendations", apiReferenceLink) return response, err } @@ -7128,7 +7128,7 @@ func (client OperationsInsightsClient) summarizeAddmDbSchemaObjects(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbSchemaObjects" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbSchemaObjects", apiReferenceLink) return response, err } @@ -7186,7 +7186,7 @@ func (client OperationsInsightsClient) summarizeAddmDbSqlStatements(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbSqlStatements" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbSqlStatements", apiReferenceLink) return response, err } @@ -7248,7 +7248,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseCpuUsages(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseCpuUsages" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseCpuUsages", apiReferenceLink) return response, err } @@ -7306,7 +7306,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseMetrics(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseMetrics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseMetrics", apiReferenceLink) return response, err } @@ -7368,7 +7368,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseParameterChanges(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseParameterChanges" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseParameterChanges", apiReferenceLink) return response, err } @@ -7434,7 +7434,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseParameters(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseParameters" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseParameters", apiReferenceLink) return response, err } @@ -7492,7 +7492,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseSnapshotRanges(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseSnapshotRanges" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseSnapshotRanges", apiReferenceLink) return response, err } @@ -7550,7 +7550,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseSysstats(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseSysstats" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseSysstats", apiReferenceLink) return response, err } @@ -7608,7 +7608,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseTopWaitEvents(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseTopWaitEvents" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseTopWaitEvents", apiReferenceLink) return response, err } @@ -7666,7 +7666,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseWaitEventBuckets(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseWaitEventBuckets" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseWaitEventBuckets", apiReferenceLink) return response, err } @@ -7724,7 +7724,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseWaitEvents(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseWaitEvents" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseWaitEvents", apiReferenceLink) return response, err } @@ -7782,7 +7782,7 @@ func (client OperationsInsightsClient) summarizeAwrSourcesSummaries(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrSourcesSummaries" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrSourcesSummaries", apiReferenceLink) return response, err } @@ -7841,7 +7841,7 @@ func (client OperationsInsightsClient) summarizeConfigurationItems(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/SummarizeConfigurationItems" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeConfigurationItems", apiReferenceLink) return response, err } @@ -7901,7 +7901,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceCapacityT defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceCapacityTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -7960,7 +7960,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceForecastT defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceForecastTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -8019,7 +8019,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceStatistic defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceStatistics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceStatistics", apiReferenceLink) return response, err } @@ -8080,7 +8080,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUsage" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUsage", apiReferenceLink) return response, err } @@ -8140,7 +8140,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUsageTren defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUsageTrend", apiReferenceLink) return response, err } @@ -8199,7 +8199,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUtilizati defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUtilizationInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -8259,7 +8259,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightTablespaceUsageTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightTablespaceUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightTablespaceUsageTrend", apiReferenceLink) return response, err } @@ -8324,7 +8324,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceCapacityTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceCapacityTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -8386,7 +8386,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceCapacityTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceCapacityTrendAggregated" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceCapacityTrendAggregated", apiReferenceLink) return response, err } @@ -8451,7 +8451,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceForecastTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceForecastTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -8512,7 +8512,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceForecastTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceForecastTrendAggregated" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceForecastTrendAggregated", apiReferenceLink) return response, err } @@ -8574,7 +8574,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceStatistics defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceStatistics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceStatistics", apiReferenceLink) return response, err } @@ -8637,7 +8637,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUsage" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUsage", apiReferenceLink) return response, err } @@ -8700,7 +8700,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUsageAggre defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUsageAggregated" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUsageAggregated", apiReferenceLink) return response, err } @@ -8758,7 +8758,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUtilizatio defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUtilizationInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -8816,7 +8816,7 @@ func (client OperationsInsightsClient) summarizeExadataMembers(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataMembers" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataMembers", apiReferenceLink) return response, err } @@ -8874,7 +8874,7 @@ func (client OperationsInsightsClient) summarizeHostInsightDiskStatistics(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightDiskStatistics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightDiskStatistics", apiReferenceLink) return response, err } @@ -8932,7 +8932,7 @@ func (client OperationsInsightsClient) summarizeHostInsightHostRecommendation(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightHostRecommendation" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightHostRecommendation", apiReferenceLink) return response, err } @@ -8990,7 +8990,7 @@ func (client OperationsInsightsClient) summarizeHostInsightNetworkUsageTrend(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightNetworkUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightNetworkUsageTrend", apiReferenceLink) return response, err } @@ -9050,7 +9050,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceCapacityTrend defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceCapacityTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -9109,7 +9109,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceForecastTrend defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceForecastTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -9168,7 +9168,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceStatistics(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceStatistics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceStatistics", apiReferenceLink) return response, err } @@ -9229,7 +9229,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUsage(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUsage" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUsage", apiReferenceLink) return response, err } @@ -9289,7 +9289,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUsageTrend(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUsageTrend", apiReferenceLink) return response, err } @@ -9348,7 +9348,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUtilizationIn defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUtilizationInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -9406,7 +9406,7 @@ func (client OperationsInsightsClient) summarizeHostInsightStorageUsageTrend(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightStorageUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightStorageUsageTrend", apiReferenceLink) return response, err } @@ -9466,7 +9466,7 @@ func (client OperationsInsightsClient) summarizeHostInsightTopProcessesUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightTopProcessesUsage" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightTopProcessesUsage", apiReferenceLink) return response, err } @@ -9526,7 +9526,7 @@ func (client OperationsInsightsClient) summarizeHostInsightTopProcessesUsageTren defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightTopProcessesUsageTrend" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightTopProcessesUsageTrend", apiReferenceLink) return response, err } @@ -9585,7 +9585,7 @@ func (client OperationsInsightsClient) summarizeOperationsInsightsWarehouseResou defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/SummarizeOperationsInsightsWarehouseResourceUsage" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeOperationsInsightsWarehouseResourceUsage", apiReferenceLink) return response, err } @@ -9644,7 +9644,7 @@ func (client OperationsInsightsClient) summarizeSqlInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlInsights" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlInsights", apiReferenceLink) return response, err } @@ -9703,7 +9703,7 @@ func (client OperationsInsightsClient) summarizeSqlPlanInsights(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlPlanInsights" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlPlanInsights", apiReferenceLink) return response, err } @@ -9762,7 +9762,7 @@ func (client OperationsInsightsClient) summarizeSqlResponseTimeDistributions(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlResponseTimeDistributions" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlResponseTimeDistributions", apiReferenceLink) return response, err } @@ -9821,7 +9821,7 @@ func (client OperationsInsightsClient) summarizeSqlStatistics(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatistics" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatistics", apiReferenceLink) return response, err } @@ -9880,7 +9880,7 @@ func (client OperationsInsightsClient) summarizeSqlStatisticsTimeSeries(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatisticsTimeSeries" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatisticsTimeSeries", apiReferenceLink) return response, err } @@ -9939,7 +9939,7 @@ func (client OperationsInsightsClient) summarizeSqlStatisticsTimeSeriesByPlan(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatisticsTimeSeriesByPlan" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatisticsTimeSeriesByPlan", apiReferenceLink) return response, err } @@ -9997,7 +9997,7 @@ func (client OperationsInsightsClient) updateAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/UpdateAwrHub" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateAwrHub", apiReferenceLink) return response, err } @@ -10055,7 +10055,7 @@ func (client OperationsInsightsClient) updateAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/UpdateAwrHubSource" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateAwrHubSource", apiReferenceLink) return response, err } @@ -10113,7 +10113,7 @@ func (client OperationsInsightsClient) updateDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/UpdateDatabaseInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateDatabaseInsight", apiReferenceLink) return response, err } @@ -10171,7 +10171,7 @@ func (client OperationsInsightsClient) updateEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/UpdateEnterpriseManagerBridge" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -10229,7 +10229,7 @@ func (client OperationsInsightsClient) updateExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/UpdateExadataInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateExadataInsight", apiReferenceLink) return response, err } @@ -10287,7 +10287,7 @@ func (client OperationsInsightsClient) updateHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/UpdateHostInsight" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateHostInsight", apiReferenceLink) return response, err } @@ -10345,7 +10345,7 @@ func (client OperationsInsightsClient) updateNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/UpdateNewsReport" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateNewsReport", apiReferenceLink) return response, err } @@ -10403,7 +10403,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/UpdateOperationsInsightsPrivateEndpoint" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -10412,7 +10412,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsPrivateEndpoint(c return response, err } -// UpdateOperationsInsightsWarehouse Updates the configuration of an Operations Insights Warehouse. +// UpdateOperationsInsightsWarehouse Updates the configuration of an Ops Insights Warehouse. // There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. // // # See also @@ -10462,7 +10462,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/UpdateOperationsInsightsWarehouse" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -10520,7 +10520,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/UpdateOperationsInsightsWarehouseUser" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -10578,7 +10578,7 @@ func (client OperationsInsightsClient) updateOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/UpdateOpsiConfiguration" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOpsiConfiguration", apiReferenceLink) return response, err } diff --git a/opsi/opsi_ux_configuration.go b/opsi/opsi_ux_configuration.go index 51798303c3..632b4c7c11 100644 --- a/opsi/opsi_ux_configuration.go +++ b/opsi/opsi_ux_configuration.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_ux_configuration_summary.go b/opsi/opsi_ux_configuration_summary.go index 8f6eecd294..b2d5482758 100644 --- a/opsi/opsi_ux_configuration_summary.go +++ b/opsi/opsi_ux_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/opsi_warehouse_data_objects.go b/opsi/opsi_warehouse_data_objects.go index 3eeaa819c1..d6bdfbada2 100644 --- a/opsi/opsi_warehouse_data_objects.go +++ b/opsi/opsi_warehouse_data_objects.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_database_connection_details.go b/opsi/pe_comanaged_database_connection_details.go index 35cad991ae..b1b8c2de1c 100644 --- a/opsi/pe_comanaged_database_connection_details.go +++ b/opsi/pe_comanaged_database_connection_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_database_host_details.go b/opsi/pe_comanaged_database_host_details.go index 8c56421783..44caeafb67 100644 --- a/opsi/pe_comanaged_database_host_details.go +++ b/opsi/pe_comanaged_database_host_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_database_insight.go b/opsi/pe_comanaged_database_insight.go index 0f5cf71439..0304f7897f 100644 --- a/opsi/pe_comanaged_database_insight.go +++ b/opsi/pe_comanaged_database_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -47,7 +47,7 @@ type PeComanagedDatabaseInsight struct { // OCI database resource type DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/pe_comanaged_database_insight_summary.go b/opsi/pe_comanaged_database_insight_summary.go index f3422de5e8..fd5ae4cbc8 100644 --- a/opsi/pe_comanaged_database_insight_summary.go +++ b/opsi/pe_comanaged_database_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -36,7 +36,7 @@ type PeComanagedDatabaseInsightSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // The version of the database. diff --git a/opsi/pe_comanaged_exadata_insight.go b/opsi/pe_comanaged_exadata_insight.go index 5ee87af0a5..540840d0f9 100644 --- a/opsi/pe_comanaged_exadata_insight.go +++ b/opsi/pe_comanaged_exadata_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_exadata_insight_summary.go b/opsi/pe_comanaged_exadata_insight_summary.go index 81f7ac3a36..0941c03b16 100644 --- a/opsi/pe_comanaged_exadata_insight_summary.go +++ b/opsi/pe_comanaged_exadata_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_host_configuration_summary.go b/opsi/pe_comanaged_host_configuration_summary.go index e7fb41cfd5..6cd9d3897a 100644 --- a/opsi/pe_comanaged_host_configuration_summary.go +++ b/opsi/pe_comanaged_host_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/pe_comanaged_host_insight.go b/opsi/pe_comanaged_host_insight.go index 1805d2f415..bb76f58fea 100644 --- a/opsi/pe_comanaged_host_insight.go +++ b/opsi/pe_comanaged_host_insight.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -47,7 +47,7 @@ type PeComanagedHostInsight struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. diff --git a/opsi/pe_comanaged_host_insight_summary.go b/opsi/pe_comanaged_host_insight_summary.go index bf46c313a5..d67df45cee 100644 --- a/opsi/pe_comanaged_host_insight_summary.go +++ b/opsi/pe_comanaged_host_insight_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type PeComanagedHostInsightSummary struct { // The user-friendly name for the host. The name does not have to be unique. HostDisplayName *string `mandatory:"false" json:"hostDisplayName"` - // Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST. + // Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. HostType *string `mandatory:"false" json:"hostType"` // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. @@ -75,7 +75,7 @@ type PeComanagedHostInsightSummary struct { // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX]. PlatformType PeComanagedHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"` - // Indicates the status of a host insight in Operations Insights + // Indicates the status of a host insight in Ops Insights Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"` // The current state of the host. diff --git a/opsi/pe_comanaged_managed_external_database_configuration_summary.go b/opsi/pe_comanaged_managed_external_database_configuration_summary.go index 31aa27603d..aa40957d28 100644 --- a/opsi/pe_comanaged_managed_external_database_configuration_summary.go +++ b/opsi/pe_comanaged_managed_external_database_configuration_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -33,7 +33,7 @@ type PeComanagedManagedExternalDatabaseConfigurationSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. diff --git a/opsi/projected_data_item.go b/opsi/projected_data_item.go index 088e52b8b3..38c6147bb1 100644 --- a/opsi/projected_data_item.go +++ b/opsi/projected_data_item.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/query_data_object_json_result_set_rows_collection.go b/opsi/query_data_object_json_result_set_rows_collection.go index e1d01b660a..9e5838e75e 100644 --- a/opsi/query_data_object_json_result_set_rows_collection.go +++ b/opsi/query_data_object_json_result_set_rows_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/query_data_object_result_set_column_metadata.go b/opsi/query_data_object_result_set_column_metadata.go index 7094ce979f..c42e2afead 100644 --- a/opsi/query_data_object_result_set_column_metadata.go +++ b/opsi/query_data_object_result_set_column_metadata.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/query_data_object_result_set_rows_collection.go b/opsi/query_data_object_result_set_rows_collection.go index 3a4b84601c..b0706af82b 100644 --- a/opsi/query_data_object_result_set_rows_collection.go +++ b/opsi/query_data_object_result_set_rows_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/query_opsi_data_object_data_details.go b/opsi/query_opsi_data_object_data_details.go index 067111f7a9..bf8aa09858 100644 --- a/opsi/query_opsi_data_object_data_details.go +++ b/opsi/query_opsi_data_object_data_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/query_warehouse_data_object_data_details.go b/opsi/query_warehouse_data_object_data_details.go index 440ca9b9c6..4a7c006fa0 100644 --- a/opsi/query_warehouse_data_object_data_details.go +++ b/opsi/query_warehouse_data_object_data_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/related_object_type_details.go b/opsi/related_object_type_details.go index 2c851a668e..1026b8c6ef 100644 --- a/opsi/related_object_type_details.go +++ b/opsi/related_object_type_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_capacity_trend_aggregation.go b/opsi/resource_capacity_trend_aggregation.go index 548d2b4438..83a13fb633 100644 --- a/opsi/resource_capacity_trend_aggregation.go +++ b/opsi/resource_capacity_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_filters.go b/opsi/resource_filters.go index b079752f33..aa94beef19 100644 --- a/opsi/resource_filters.go +++ b/opsi/resource_filters.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -50,6 +50,9 @@ type ResourceFilters struct { // A flag to consider all resources within a given compartment and all sub-compartments. CompartmentIdInSubtree *bool `mandatory:"false" json:"compartmentIdInSubtree"` + + // Filter resources by status, multiple options could be chosen to show authorized resources even if those are disabled or deleted. + ResourceStatus []ResourceStatusEnum `mandatory:"false" json:"resourceStatus,omitempty"` } func (m ResourceFilters) String() string { @@ -62,6 +65,12 @@ func (m ResourceFilters) String() string { func (m ResourceFilters) ValidateEnumValue() (bool, error) { errMessage := []string{} + for _, val := range m.ResourceStatus { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceStatus: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/resource_insight_current_utilization.go b/opsi/resource_insight_current_utilization.go index ae46189140..bd9f976008 100644 --- a/opsi/resource_insight_current_utilization.go +++ b/opsi/resource_insight_current_utilization.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_insight_projected_utilization.go b/opsi/resource_insight_projected_utilization.go index 342d73e5d7..124ea51a53 100644 --- a/opsi/resource_insight_projected_utilization.go +++ b/opsi/resource_insight_projected_utilization.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_insight_projected_utilization_item.go b/opsi/resource_insight_projected_utilization_item.go index dd19328e64..9b0c144d1c 100644 --- a/opsi/resource_insight_projected_utilization_item.go +++ b/opsi/resource_insight_projected_utilization_item.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_statistics.go b/opsi/resource_statistics.go index 075e1c5ee7..be25f4dc0f 100644 --- a/opsi/resource_statistics.go +++ b/opsi/resource_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_statistics_aggregation.go b/opsi/resource_statistics_aggregation.go index eab8549cb5..46a48fed96 100644 --- a/opsi/resource_statistics_aggregation.go +++ b/opsi/resource_statistics_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_status.go b/opsi/resource_status.go index c1ff5f4af3..3457fe9dc6 100644 --- a/opsi/resource_status.go +++ b/opsi/resource_status.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_usage_summary.go b/opsi/resource_usage_summary.go index 1d7e846e09..85412c164d 100644 --- a/opsi/resource_usage_summary.go +++ b/opsi/resource_usage_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/resource_usage_trend_aggregation.go b/opsi/resource_usage_trend_aggregation.go index 6c5ca74678..470b0bd729 100644 --- a/opsi/resource_usage_trend_aggregation.go +++ b/opsi/resource_usage_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/rotate_operations_insights_warehouse_wallet_request_response.go b/opsi/rotate_operations_insights_warehouse_wallet_request_response.go index 13a9b4877a..4338b62295 100644 --- a/opsi/rotate_operations_insights_warehouse_wallet_request_response.go +++ b/opsi/rotate_operations_insights_warehouse_wallet_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/RotateOperationsInsightsWarehouseWallet.go.html to see an example of how to use RotateOperationsInsightsWarehouseWalletRequest. type RotateOperationsInsightsWarehouseWalletRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/opsi/schema_object_type_details.go b/opsi/schema_object_type_details.go index 1efbe5999b..d426422047 100644 --- a/opsi/schema_object_type_details.go +++ b/opsi/schema_object_type_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sort_order.go b/opsi/sort_order.go index ee19257038..25f9519281 100644 --- a/opsi/sort_order.go +++ b/opsi/sort_order.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_bucket.go b/opsi/sql_bucket.go index 6b2495b444..58086dac0a 100644 --- a/opsi/sql_bucket.go +++ b/opsi/sql_bucket.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -38,7 +38,7 @@ type SqlBucket struct { // Example: `1` Version *float32 `mandatory:"false" json:"version"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"false" json:"databaseType"` // Total number of executions diff --git a/opsi/sql_insight_aggregation.go b/opsi/sql_insight_aggregation.go index 50153cc3bc..0df20a2b52 100644 --- a/opsi/sql_insight_aggregation.go +++ b/opsi/sql_insight_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_insight_aggregation_collection.go b/opsi/sql_insight_aggregation_collection.go index 5ba9207557..117f23d020 100644 --- a/opsi/sql_insight_aggregation_collection.go +++ b/opsi/sql_insight_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_insight_thresholds.go b/opsi/sql_insight_thresholds.go index b984ff1fa1..e6e3dc183f 100644 --- a/opsi/sql_insight_thresholds.go +++ b/opsi/sql_insight_thresholds.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_inventory.go b/opsi/sql_inventory.go index e19f52db61..a373334de5 100644 --- a/opsi/sql_inventory.go +++ b/opsi/sql_inventory.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_collection.go b/opsi/sql_plan_collection.go index 8a42207fc5..3ab567d8bc 100644 --- a/opsi/sql_plan_collection.go +++ b/opsi/sql_plan_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_insight_aggregation.go b/opsi/sql_plan_insight_aggregation.go index 947d2538c7..7da69deaa8 100644 --- a/opsi/sql_plan_insight_aggregation.go +++ b/opsi/sql_plan_insight_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_insight_aggregation_collection.go b/opsi/sql_plan_insight_aggregation_collection.go index b81225b062..40831ae6ec 100644 --- a/opsi/sql_plan_insight_aggregation_collection.go +++ b/opsi/sql_plan_insight_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_insights.go b/opsi/sql_plan_insights.go index f6d2e7abdc..e95e075bdd 100644 --- a/opsi/sql_plan_insights.go +++ b/opsi/sql_plan_insights.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_line.go b/opsi/sql_plan_line.go index bc1800cd46..aaa9a7cebf 100644 --- a/opsi/sql_plan_line.go +++ b/opsi/sql_plan_line.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_plan_summary.go b/opsi/sql_plan_summary.go index 0c6679f953..e299d2417f 100644 --- a/opsi/sql_plan_summary.go +++ b/opsi/sql_plan_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_response_time_distribution_aggregation.go b/opsi/sql_response_time_distribution_aggregation.go index eca6a571e8..0b63e40ce0 100644 --- a/opsi/sql_response_time_distribution_aggregation.go +++ b/opsi/sql_response_time_distribution_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_response_time_distribution_aggregation_collection.go b/opsi/sql_response_time_distribution_aggregation_collection.go index 3dcf7d1967..5424811ee8 100644 --- a/opsi/sql_response_time_distribution_aggregation_collection.go +++ b/opsi/sql_response_time_distribution_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_search_collection.go b/opsi/sql_search_collection.go index 0be8506f25..c31e1a35fb 100644 --- a/opsi/sql_search_collection.go +++ b/opsi/sql_search_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_search_summary.go b/opsi/sql_search_summary.go index 1b6d6e65b0..8803defdec 100644 --- a/opsi/sql_search_summary.go +++ b/opsi/sql_search_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -35,7 +35,7 @@ type SqlSearchSummary struct { // The user-friendly name for the database. The name does not have to be unique. DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"` - // Operations Insights internal representation of the database type. + // Ops Insights internal representation of the database type. DatabaseType *string `mandatory:"true" json:"databaseType"` // The version of the database. diff --git a/opsi/sql_statistic_aggregation.go b/opsi/sql_statistic_aggregation.go index c10a5fe07e..a208b73dd0 100644 --- a/opsi/sql_statistic_aggregation.go +++ b/opsi/sql_statistic_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistic_aggregation_collection.go b/opsi/sql_statistic_aggregation_collection.go index b77feb26c9..72050849ac 100644 --- a/opsi/sql_statistic_aggregation_collection.go +++ b/opsi/sql_statistic_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics.go b/opsi/sql_statistics.go index 5260eb6e1a..5916159d1e 100644 --- a/opsi/sql_statistics.go +++ b/opsi/sql_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics_time_series.go b/opsi/sql_statistics_time_series.go index e84621fe39..d456fba6cf 100644 --- a/opsi/sql_statistics_time_series.go +++ b/opsi/sql_statistics_time_series.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics_time_series_aggregation.go b/opsi/sql_statistics_time_series_aggregation.go index 9c8dd87a31..e93c83b349 100644 --- a/opsi/sql_statistics_time_series_aggregation.go +++ b/opsi/sql_statistics_time_series_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics_time_series_aggregation_collection.go b/opsi/sql_statistics_time_series_aggregation_collection.go index 624d67f75f..9f8f5edd40 100644 --- a/opsi/sql_statistics_time_series_aggregation_collection.go +++ b/opsi/sql_statistics_time_series_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics_time_series_by_plan_aggregation.go b/opsi/sql_statistics_time_series_by_plan_aggregation.go index 982a2d65a6..a65c439330 100644 --- a/opsi/sql_statistics_time_series_by_plan_aggregation.go +++ b/opsi/sql_statistics_time_series_by_plan_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go b/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go index a3a08d782f..2eee8f875b 100644 --- a/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go +++ b/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_stats.go b/opsi/sql_stats.go index 89f1411e3f..2322232bfa 100644 --- a/opsi/sql_stats.go +++ b/opsi/sql_stats.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_text.go b/opsi/sql_text.go index 66f9419c62..7cc23ecbb9 100644 --- a/opsi/sql_text.go +++ b/opsi/sql_text.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_text_collection.go b/opsi/sql_text_collection.go index f828bd2486..8e2d04b1b2 100644 --- a/opsi/sql_text_collection.go +++ b/opsi/sql_text_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_text_summary.go b/opsi/sql_text_summary.go index 354abe79de..3061bf5d23 100644 --- a/opsi/sql_text_summary.go +++ b/opsi/sql_text_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/sql_type_details.go b/opsi/sql_type_details.go index 3bb285f4dc..5acd89d49d 100644 --- a/opsi/sql_type_details.go +++ b/opsi/sql_type_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/storage_server.go b/opsi/storage_server.go index 73e6f69962..ef38d86a53 100644 --- a/opsi/storage_server.go +++ b/opsi/storage_server.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/storage_server_details.go b/opsi/storage_server_details.go index d5b458cf53..078419131b 100644 --- a/opsi/storage_server_details.go +++ b/opsi/storage_server_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/storage_tier.go b/opsi/storage_tier.go index a8e94ee735..4932ca6dc6 100644 --- a/opsi/storage_tier.go +++ b/opsi/storage_tier.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/storage_usage_trend.go b/opsi/storage_usage_trend.go index 6adece1a1b..b5a637d8e0 100644 --- a/opsi/storage_usage_trend.go +++ b/opsi/storage_usage_trend.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/storage_usage_trend_aggregation.go b/opsi/storage_usage_trend_aggregation.go index dfd835908c..a4e257acb1 100644 --- a/opsi/storage_usage_trend_aggregation.go +++ b/opsi/storage_usage_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_addm_db_parameters_request_response.go b/opsi/summarize_addm_db_parameters_request_response.go index 080967e96b..1ba9cce6e0 100644 --- a/opsi/summarize_addm_db_parameters_request_response.go +++ b/opsi/summarize_addm_db_parameters_request_response.go @@ -204,13 +204,13 @@ type SummarizeAddmDbParametersIsChangedEnum string // Set of constants representing the allowable values for SummarizeAddmDbParametersIsChangedEnum const ( - SummarizeAddmDbParametersIsChangedTrue SummarizeAddmDbParametersIsChangedEnum = "true" - SummarizeAddmDbParametersIsChangedFalse SummarizeAddmDbParametersIsChangedEnum = "false" + SummarizeAddmDbParametersIsChangedTrue SummarizeAddmDbParametersIsChangedEnum = "TRUE" + SummarizeAddmDbParametersIsChangedFalse SummarizeAddmDbParametersIsChangedEnum = "FALSE" ) var mappingSummarizeAddmDbParametersIsChangedEnum = map[string]SummarizeAddmDbParametersIsChangedEnum{ - "true": SummarizeAddmDbParametersIsChangedTrue, - "false": SummarizeAddmDbParametersIsChangedFalse, + "TRUE": SummarizeAddmDbParametersIsChangedTrue, + "FALSE": SummarizeAddmDbParametersIsChangedFalse, } var mappingSummarizeAddmDbParametersIsChangedEnumLowerCase = map[string]SummarizeAddmDbParametersIsChangedEnum{ @@ -230,8 +230,8 @@ func GetSummarizeAddmDbParametersIsChangedEnumValues() []SummarizeAddmDbParamete // GetSummarizeAddmDbParametersIsChangedEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsChangedEnum func GetSummarizeAddmDbParametersIsChangedEnumStringValues() []string { return []string{ - "true", - "false", + "TRUE", + "FALSE", } } @@ -246,13 +246,13 @@ type SummarizeAddmDbParametersIsDefaultEnum string // Set of constants representing the allowable values for SummarizeAddmDbParametersIsDefaultEnum const ( - SummarizeAddmDbParametersIsDefaultTrue SummarizeAddmDbParametersIsDefaultEnum = "true" - SummarizeAddmDbParametersIsDefaultFalse SummarizeAddmDbParametersIsDefaultEnum = "false" + SummarizeAddmDbParametersIsDefaultTrue SummarizeAddmDbParametersIsDefaultEnum = "TRUE" + SummarizeAddmDbParametersIsDefaultFalse SummarizeAddmDbParametersIsDefaultEnum = "FALSE" ) var mappingSummarizeAddmDbParametersIsDefaultEnum = map[string]SummarizeAddmDbParametersIsDefaultEnum{ - "true": SummarizeAddmDbParametersIsDefaultTrue, - "false": SummarizeAddmDbParametersIsDefaultFalse, + "TRUE": SummarizeAddmDbParametersIsDefaultTrue, + "FALSE": SummarizeAddmDbParametersIsDefaultFalse, } var mappingSummarizeAddmDbParametersIsDefaultEnumLowerCase = map[string]SummarizeAddmDbParametersIsDefaultEnum{ @@ -272,8 +272,8 @@ func GetSummarizeAddmDbParametersIsDefaultEnumValues() []SummarizeAddmDbParamete // GetSummarizeAddmDbParametersIsDefaultEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsDefaultEnum func GetSummarizeAddmDbParametersIsDefaultEnumStringValues() []string { return []string{ - "true", - "false", + "TRUE", + "FALSE", } } @@ -288,13 +288,13 @@ type SummarizeAddmDbParametersHasRecommendationsEnum string // Set of constants representing the allowable values for SummarizeAddmDbParametersHasRecommendationsEnum const ( - SummarizeAddmDbParametersHasRecommendationsTrue SummarizeAddmDbParametersHasRecommendationsEnum = "true" - SummarizeAddmDbParametersHasRecommendationsFalse SummarizeAddmDbParametersHasRecommendationsEnum = "false" + SummarizeAddmDbParametersHasRecommendationsTrue SummarizeAddmDbParametersHasRecommendationsEnum = "TRUE" + SummarizeAddmDbParametersHasRecommendationsFalse SummarizeAddmDbParametersHasRecommendationsEnum = "FALSE" ) var mappingSummarizeAddmDbParametersHasRecommendationsEnum = map[string]SummarizeAddmDbParametersHasRecommendationsEnum{ - "true": SummarizeAddmDbParametersHasRecommendationsTrue, - "false": SummarizeAddmDbParametersHasRecommendationsFalse, + "TRUE": SummarizeAddmDbParametersHasRecommendationsTrue, + "FALSE": SummarizeAddmDbParametersHasRecommendationsFalse, } var mappingSummarizeAddmDbParametersHasRecommendationsEnumLowerCase = map[string]SummarizeAddmDbParametersHasRecommendationsEnum{ @@ -314,8 +314,8 @@ func GetSummarizeAddmDbParametersHasRecommendationsEnumValues() []SummarizeAddmD // GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersHasRecommendationsEnum func GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues() []string { return []string{ - "true", - "false", + "TRUE", + "FALSE", } } diff --git a/opsi/summarize_awr_sources_summaries_collection.go b/opsi/summarize_awr_sources_summaries_collection.go index d72686c49c..5f677f7669 100644 --- a/opsi/summarize_awr_sources_summaries_collection.go +++ b/opsi/summarize_awr_sources_summaries_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go b/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go index 143b5988e1..f55ea6d210 100644 --- a/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go +++ b/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_forecast_trend_aggregation.go b/opsi/summarize_database_insight_resource_forecast_trend_aggregation.go index 7b8d7550da..35c7e6c7d0 100644 --- a/opsi/summarize_database_insight_resource_forecast_trend_aggregation.go +++ b/opsi/summarize_database_insight_resource_forecast_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go b/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go index 17ab5f4970..e232ea83a9 100644 --- a/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go +++ b/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_usage_aggregation.go b/opsi/summarize_database_insight_resource_usage_aggregation.go index f705332487..3864f8efc8 100644 --- a/opsi/summarize_database_insight_resource_usage_aggregation.go +++ b/opsi/summarize_database_insight_resource_usage_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go b/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go index 87ed550c15..0ea28694cf 100644 --- a/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go +++ b/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go b/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go index 9d7b1fb898..c193a4a9e5 100644 --- a/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go +++ b/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go b/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go index 747052e685..c1ad9348bd 100644 --- a/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go +++ b/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go b/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go index 5108e4ea22..eb9d75062f 100644 --- a/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go +++ b/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go b/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go index fc12d8e5b3..4dd0f9c76f 100644 --- a/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go +++ b/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_forecast_trend_aggregation.go b/opsi/summarize_exadata_insight_resource_forecast_trend_aggregation.go index f7568cfc23..b2b079228f 100644 --- a/opsi/summarize_exadata_insight_resource_forecast_trend_aggregation.go +++ b/opsi/summarize_exadata_insight_resource_forecast_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go b/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go index 341e16f26c..f937795840 100644 --- a/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go +++ b/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go b/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go index 7db6b905bc..0c485a72b1 100644 --- a/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go +++ b/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_usage_aggregation.go b/opsi/summarize_exadata_insight_resource_usage_aggregation.go index 54de97aa84..d6f85f418c 100644 --- a/opsi/summarize_exadata_insight_resource_usage_aggregation.go +++ b/opsi/summarize_exadata_insight_resource_usage_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_usage_collection.go b/opsi/summarize_exadata_insight_resource_usage_collection.go index b2c456e9a3..d15abe303c 100644 --- a/opsi/summarize_exadata_insight_resource_usage_collection.go +++ b/opsi/summarize_exadata_insight_resource_usage_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go b/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go index 54437b14dd..4204dc11c2 100644 --- a/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go +++ b/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_disk_statistics_request_response.go b/opsi/summarize_host_insight_disk_statistics_request_response.go index 79f3c84f8d..d4b63bebef 100644 --- a/opsi/summarize_host_insight_disk_statistics_request_response.go +++ b/opsi/summarize_host_insight_disk_statistics_request_response.go @@ -53,6 +53,9 @@ type SummarizeHostInsightDiskStatisticsRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -92,6 +95,12 @@ func (request SummarizeHostInsightDiskStatisticsRequest) ValidateEnumValue() (bo if _, ok := GetMappingSummarizeHostInsightDiskStatisticsStatisticEnum(string(request.Statistic)); !ok && request.Statistic != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Statistic: %s. Supported values are: %s.", request.Statistic, strings.Join(GetSummarizeHostInsightDiskStatisticsStatisticEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_host_recommendation_aggregation.go b/opsi/summarize_host_insight_host_recommendation_aggregation.go index 86160d7fba..c0692129e9 100644 --- a/opsi/summarize_host_insight_host_recommendation_aggregation.go +++ b/opsi/summarize_host_insight_host_recommendation_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go b/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go index d711145ca1..299ce38193 100644 --- a/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go +++ b/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_network_usage_trend_request_response.go b/opsi/summarize_host_insight_network_usage_trend_request_response.go index 6994ee9aa0..35955b9041 100644 --- a/opsi/summarize_host_insight_network_usage_trend_request_response.go +++ b/opsi/summarize_host_insight_network_usage_trend_request_response.go @@ -65,6 +65,9 @@ type SummarizeHostInsightNetworkUsageTrendRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -104,6 +107,12 @@ func (request SummarizeHostInsightNetworkUsageTrendRequest) ValidateEnumValue() if _, ok := GetMappingSummarizeHostInsightNetworkUsageTrendStatisticEnum(string(request.Statistic)); !ok && request.Statistic != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Statistic: %s. Supported values are: %s.", request.Statistic, strings.Join(GetSummarizeHostInsightNetworkUsageTrendStatisticEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go b/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go index 496276b05a..8e7d816cc6 100644 --- a/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go +++ b/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_capacity_trend_request_response.go b/opsi/summarize_host_insight_resource_capacity_trend_request_response.go index d993962a10..696d6a17c5 100644 --- a/opsi/summarize_host_insight_resource_capacity_trend_request_response.go +++ b/opsi/summarize_host_insight_resource_capacity_trend_request_response.go @@ -122,6 +122,9 @@ type SummarizeHostInsightResourceCapacityTrendRequest struct { // Percent value in which a resource metric is considered low utilized. LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -173,6 +176,12 @@ func (request SummarizeHostInsightResourceCapacityTrendRequest) ValidateEnumValu if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetSummarizeHostInsightResourceCapacityTrendSortByEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_forecast_trend_aggregation.go b/opsi/summarize_host_insight_resource_forecast_trend_aggregation.go index c56908547e..b0b63d3c9b 100644 --- a/opsi/summarize_host_insight_resource_forecast_trend_aggregation.go +++ b/opsi/summarize_host_insight_resource_forecast_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_forecast_trend_request_response.go b/opsi/summarize_host_insight_resource_forecast_trend_request_response.go index 32fe4b1119..47e54ee7ea 100644 --- a/opsi/summarize_host_insight_resource_forecast_trend_request_response.go +++ b/opsi/summarize_host_insight_resource_forecast_trend_request_response.go @@ -142,6 +142,9 @@ type SummarizeHostInsightResourceForecastTrendRequest struct { // Name of the network interface. InterfaceName *string `mandatory:"false" contributesTo:"query" name:"interfaceName"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -193,6 +196,12 @@ func (request SummarizeHostInsightResourceForecastTrendRequest) ValidateEnumValu if _, ok := GetMappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnum(string(request.UtilizationLevel)); !ok && request.UtilizationLevel != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UtilizationLevel: %s. Supported values are: %s.", request.UtilizationLevel, strings.Join(GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go b/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go index 73de409516..caa6f38d91 100644 --- a/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go +++ b/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_statistics_request_response.go b/opsi/summarize_host_insight_resource_statistics_request_response.go index 96a0209978..1741a61cc4 100644 --- a/opsi/summarize_host_insight_resource_statistics_request_response.go +++ b/opsi/summarize_host_insight_resource_statistics_request_response.go @@ -133,6 +133,9 @@ type SummarizeHostInsightResourceStatisticsRequest struct { // Percent value in which a resource metric is considered low utilized. LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -181,6 +184,12 @@ func (request SummarizeHostInsightResourceStatisticsRequest) ValidateEnumValue() if _, ok := GetMappingSummarizeHostInsightResourceStatisticsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetSummarizeHostInsightResourceStatisticsSortByEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_usage_aggregation.go b/opsi/summarize_host_insight_resource_usage_aggregation.go index 0e75250425..bb57b45dcb 100644 --- a/opsi/summarize_host_insight_resource_usage_aggregation.go +++ b/opsi/summarize_host_insight_resource_usage_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_usage_request_response.go b/opsi/summarize_host_insight_resource_usage_request_response.go index 1c1535db9a..6d99171321 100644 --- a/opsi/summarize_host_insight_resource_usage_request_response.go +++ b/opsi/summarize_host_insight_resource_usage_request_response.go @@ -106,6 +106,9 @@ type SummarizeHostInsightResourceUsageRequest struct { // Optional list of Exadata Insight VM cluster name. VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -148,6 +151,12 @@ func (request SummarizeHostInsightResourceUsageRequest) ValidateEnumValue() (boo } } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go b/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go index 4cf43d7756..5e8f12100a 100644 --- a/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go +++ b/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_usage_trend_request_response.go b/opsi/summarize_host_insight_resource_usage_trend_request_response.go index eea4781027..95c126b548 100644 --- a/opsi/summarize_host_insight_resource_usage_trend_request_response.go +++ b/opsi/summarize_host_insight_resource_usage_trend_request_response.go @@ -109,6 +109,9 @@ type SummarizeHostInsightResourceUsageTrendRequest struct { // Optional list of Exadata Insight VM cluster name. VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -157,6 +160,12 @@ func (request SummarizeHostInsightResourceUsageTrendRequest) ValidateEnumValue() if _, ok := GetMappingSummarizeHostInsightResourceUsageTrendSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetSummarizeHostInsightResourceUsageTrendSortByEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go b/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go index d3674a2ec0..fe757af4d4 100644 --- a/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go +++ b/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_resource_utilization_insight_request_response.go b/opsi/summarize_host_insight_resource_utilization_insight_request_response.go index 2fa58cd56f..5e57f67897 100644 --- a/opsi/summarize_host_insight_resource_utilization_insight_request_response.go +++ b/opsi/summarize_host_insight_resource_utilization_insight_request_response.go @@ -112,6 +112,9 @@ type SummarizeHostInsightResourceUtilizationInsightRequest struct { // Percent value in which a resource metric is considered low utilized. LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -154,6 +157,12 @@ func (request SummarizeHostInsightResourceUtilizationInsightRequest) ValidateEnu } } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go b/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go index f22b67c600..8bb7481f2c 100644 --- a/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go +++ b/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insight_storage_usage_trend_request_response.go b/opsi/summarize_host_insight_storage_usage_trend_request_response.go index 56b977e711..51a4f67f81 100644 --- a/opsi/summarize_host_insight_storage_usage_trend_request_response.go +++ b/opsi/summarize_host_insight_storage_usage_trend_request_response.go @@ -65,6 +65,9 @@ type SummarizeHostInsightStorageUsageTrendRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -104,6 +107,12 @@ func (request SummarizeHostInsightStorageUsageTrendRequest) ValidateEnumValue() if _, ok := GetMappingSummarizeHostInsightStorageUsageTrendStatisticEnum(string(request.Statistic)); !ok && request.Statistic != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Statistic: %s. Supported values are: %s.", request.Statistic, strings.Join(GetSummarizeHostInsightStorageUsageTrendStatisticEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_top_processes_usage_request_response.go b/opsi/summarize_host_insight_top_processes_usage_request_response.go index 123f720896..35f96ebd7a 100644 --- a/opsi/summarize_host_insight_top_processes_usage_request_response.go +++ b/opsi/summarize_host_insight_top_processes_usage_request_response.go @@ -77,6 +77,9 @@ type SummarizeHostInsightTopProcessesUsageRequest struct { // Choose the type of statistic metric data to be used for forecasting. Statistic SummarizeHostInsightTopProcessesUsageStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -116,6 +119,12 @@ func (request SummarizeHostInsightTopProcessesUsageRequest) ValidateEnumValue() if _, ok := GetMappingSummarizeHostInsightTopProcessesUsageStatisticEnum(string(request.Statistic)); !ok && request.Statistic != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Statistic: %s. Supported values are: %s.", request.Statistic, strings.Join(GetSummarizeHostInsightTopProcessesUsageStatisticEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go b/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go index d5715fec9d..9bc06bf60a 100644 --- a/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go +++ b/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go @@ -76,6 +76,9 @@ type SummarizeHostInsightTopProcessesUsageTrendRequest struct { // Choose the type of statistic metric data to be used for forecasting. Statistic SummarizeHostInsightTopProcessesUsageTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"` + // Resource Status + Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"` + // 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 @@ -115,6 +118,12 @@ func (request SummarizeHostInsightTopProcessesUsageTrendRequest) ValidateEnumVal if _, ok := GetMappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnum(string(request.Statistic)); !ok && request.Statistic != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Statistic: %s. Supported values are: %s.", request.Statistic, strings.Join(GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumStringValues(), ","))) } + for _, val := range request.Status { + if _, ok := GetMappingResourceStatusEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", val, strings.Join(GetResourceStatusEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } diff --git a/opsi/summarize_host_insights_disk_statistics_collection.go b/opsi/summarize_host_insights_disk_statistics_collection.go index ad458120f8..4bca4a9d89 100644 --- a/opsi/summarize_host_insights_disk_statistics_collection.go +++ b/opsi/summarize_host_insights_disk_statistics_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insights_top_processes_usage_collection.go b/opsi/summarize_host_insights_top_processes_usage_collection.go index bfefbca641..31c313edc2 100644 --- a/opsi/summarize_host_insights_top_processes_usage_collection.go +++ b/opsi/summarize_host_insights_top_processes_usage_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_host_insights_top_processes_usage_trend_collection.go b/opsi/summarize_host_insights_top_processes_usage_trend_collection.go index d39b65a9cd..8aa1aedf3d 100644 --- a/opsi/summarize_host_insights_top_processes_usage_trend_collection.go +++ b/opsi/summarize_host_insights_top_processes_usage_trend_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go b/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go index 61b58eb8e7..e08ae51c76 100644 --- a/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go +++ b/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go b/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go index 12e68227de..ab57d0eb7d 100644 --- a/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go +++ b/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeOperationsInsightsWarehouseResourceUsage.go.html to see an example of how to use SummarizeOperationsInsightsWarehouseResourceUsageRequest. type SummarizeOperationsInsightsWarehouseResourceUsageRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/opsi/summary_statistics.go b/opsi/summary_statistics.go index 7c4707162e..71afa0e2c1 100644 --- a/opsi/summary_statistics.go +++ b/opsi/summary_statistics.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/tablespace_usage_trend.go b/opsi/tablespace_usage_trend.go index fa2d08e3f1..7684d2a237 100644 --- a/opsi/tablespace_usage_trend.go +++ b/opsi/tablespace_usage_trend.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/tablespace_usage_trend_aggregation.go b/opsi/tablespace_usage_trend_aggregation.go index 01179d535e..06d5ce21db 100644 --- a/opsi/tablespace_usage_trend_aggregation.go +++ b/opsi/tablespace_usage_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/top_processes_usage.go b/opsi/top_processes_usage.go index 3f8bb5c2e6..63e0ef7449 100644 --- a/opsi/top_processes_usage.go +++ b/opsi/top_processes_usage.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -43,6 +43,9 @@ type TopProcessesUsage struct { // Maximum number of processes running at time of collection. MaxProcessCount *int `mandatory:"true" json:"maxProcessCount"` + + // Container id if this process corresponds to a running container in the host. + ContainerId *string `mandatory:"false" json:"containerId"` } func (m TopProcessesUsage) String() string { diff --git a/opsi/top_processes_usage_trend.go b/opsi/top_processes_usage_trend.go index e8457a4ca9..4529219ff5 100644 --- a/opsi/top_processes_usage_trend.go +++ b/opsi/top_processes_usage_trend.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -40,6 +40,9 @@ type TopProcessesUsageTrend struct { // Maximum number of processes running at time of collection MaxProcessCount *int `mandatory:"true" json:"maxProcessCount"` + + // Container id if this process corresponds to a running container in the host. + ContainerId *string `mandatory:"false" json:"containerId"` } func (m TopProcessesUsageTrend) String() string { diff --git a/opsi/top_processes_usage_trend_aggregation.go b/opsi/top_processes_usage_trend_aggregation.go index ffc6347fc8..cf5dabef5c 100644 --- a/opsi/top_processes_usage_trend_aggregation.go +++ b/opsi/top_processes_usage_trend_aggregation.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_autonomous_database_insight_details.go b/opsi/update_autonomous_database_insight_details.go index 4fc6c262b2..a88b15a65a 100644 --- a/opsi/update_autonomous_database_insight_details.go +++ b/opsi/update_autonomous_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_awr_hub_details.go b/opsi/update_awr_hub_details.go index b328913549..4944ada012 100644 --- a/opsi/update_awr_hub_details.go +++ b/opsi/update_awr_hub_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_awr_hub_source_details.go b/opsi/update_awr_hub_source_details.go index 3e73188147..0dfc1c24bb 100644 --- a/opsi/update_awr_hub_source_details.go +++ b/opsi/update_awr_hub_source_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_basic_configuration_item_details.go b/opsi/update_basic_configuration_item_details.go index b667b5c8b9..358fa3456f 100644 --- a/opsi/update_basic_configuration_item_details.go +++ b/opsi/update_basic_configuration_item_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_configuration_item_details.go b/opsi/update_configuration_item_details.go index b4b046b2c1..7c0a75f86e 100644 --- a/opsi/update_configuration_item_details.go +++ b/opsi/update_configuration_item_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_database_insight_details.go b/opsi/update_database_insight_details.go index 34cf2ff269..ef2587fcd5 100644 --- a/opsi/update_database_insight_details.go +++ b/opsi/update_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_em_managed_external_database_insight_details.go b/opsi/update_em_managed_external_database_insight_details.go index 4b6aec8ed9..add1e0d8a1 100644 --- a/opsi/update_em_managed_external_database_insight_details.go +++ b/opsi/update_em_managed_external_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_em_managed_external_exadata_insight_details.go b/opsi/update_em_managed_external_exadata_insight_details.go index a921456007..ea634398d3 100644 --- a/opsi/update_em_managed_external_exadata_insight_details.go +++ b/opsi/update_em_managed_external_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_em_managed_external_host_insight_details.go b/opsi/update_em_managed_external_host_insight_details.go index 3e5d90eb3e..9d5302fb68 100644 --- a/opsi/update_em_managed_external_host_insight_details.go +++ b/opsi/update_em_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_enterprise_manager_bridge_details.go b/opsi/update_enterprise_manager_bridge_details.go index bbd4bd53ef..b05bede34c 100644 --- a/opsi/update_enterprise_manager_bridge_details.go +++ b/opsi/update_enterprise_manager_bridge_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_exadata_insight_details.go b/opsi/update_exadata_insight_details.go index a0d31e6caf..913e0df855 100644 --- a/opsi/update_exadata_insight_details.go +++ b/opsi/update_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_host_insight_details.go b/opsi/update_host_insight_details.go index 07dbce550d..5591c79eb0 100644 --- a/opsi/update_host_insight_details.go +++ b/opsi/update_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_macs_managed_cloud_host_insight_details.go b/opsi/update_macs_managed_cloud_host_insight_details.go index 8c17208821..6498a9f926 100644 --- a/opsi/update_macs_managed_cloud_host_insight_details.go +++ b/opsi/update_macs_managed_cloud_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_macs_managed_external_database_insight_details.go b/opsi/update_macs_managed_external_database_insight_details.go index 9834661462..1c1b2fc8a2 100644 --- a/opsi/update_macs_managed_external_database_insight_details.go +++ b/opsi/update_macs_managed_external_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_macs_managed_external_host_insight_details.go b/opsi/update_macs_managed_external_host_insight_details.go index 54451099ea..499cbe77bd 100644 --- a/opsi/update_macs_managed_external_host_insight_details.go +++ b/opsi/update_macs_managed_external_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_news_report_details.go b/opsi/update_news_report_details.go index a77d18f152..1ef8197cd9 100644 --- a/opsi/update_news_report_details.go +++ b/opsi/update_news_report_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_operations_insights_private_endpoint_details.go b/opsi/update_operations_insights_private_endpoint_details.go index a9cb962826..1574c39bab 100644 --- a/opsi/update_operations_insights_private_endpoint_details.go +++ b/opsi/update_operations_insights_private_endpoint_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_operations_insights_warehouse_details.go b/opsi/update_operations_insights_warehouse_details.go index 2b9ae72730..8710861050 100644 --- a/opsi/update_operations_insights_warehouse_details.go +++ b/opsi/update_operations_insights_warehouse_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -20,7 +20,7 @@ import ( // UpdateOperationsInsightsWarehouseDetails The information to be updated. type UpdateOperationsInsightsWarehouseDetails struct { - // User-friedly name of Operations Insights Warehouse that does not have to be unique. + // User-friedly name of Ops Insights Warehouse that does not have to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // Number of OCPUs allocated to OPSI Warehouse ADW. diff --git a/opsi/update_operations_insights_warehouse_request_response.go b/opsi/update_operations_insights_warehouse_request_response.go index 344ce9b982..0e4bb0ff19 100644 --- a/opsi/update_operations_insights_warehouse_request_response.go +++ b/opsi/update_operations_insights_warehouse_request_response.go @@ -18,7 +18,7 @@ import ( // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateOperationsInsightsWarehouse.go.html to see an example of how to use UpdateOperationsInsightsWarehouseRequest. type UpdateOperationsInsightsWarehouseRequest struct { - // Unique Operations Insights Warehouse identifier + // Unique Ops Insights Warehouse identifier OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"` // The configuration to be updated. diff --git a/opsi/update_operations_insights_warehouse_user_details.go b/opsi/update_operations_insights_warehouse_user_details.go index 759d6e5766..2e2a3546fb 100644 --- a/opsi/update_operations_insights_warehouse_user_details.go +++ b/opsi/update_operations_insights_warehouse_user_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -20,7 +20,7 @@ import ( // UpdateOperationsInsightsWarehouseUserDetails The information to be updated. type UpdateOperationsInsightsWarehouseUserDetails struct { - // User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. + // User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub. ConnectionPassword *string `mandatory:"false" json:"connectionPassword"` // Indicate whether user has access to AWR data. diff --git a/opsi/update_opsi_configuration_details.go b/opsi/update_opsi_configuration_details.go index b392782b8f..56f3cc1511 100644 --- a/opsi/update_opsi_configuration_details.go +++ b/opsi/update_opsi_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_opsi_ux_configuration_details.go b/opsi/update_opsi_ux_configuration_details.go index 778e951041..a70d99b825 100644 --- a/opsi/update_opsi_ux_configuration_details.go +++ b/opsi/update_opsi_ux_configuration_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_pe_comanaged_database_insight_details.go b/opsi/update_pe_comanaged_database_insight_details.go index 6bd7b77bc4..1173f5419f 100644 --- a/opsi/update_pe_comanaged_database_insight_details.go +++ b/opsi/update_pe_comanaged_database_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_pe_comanaged_exadata_insight_details.go b/opsi/update_pe_comanaged_exadata_insight_details.go index 78e7815fe7..8ec6c1f577 100644 --- a/opsi/update_pe_comanaged_exadata_insight_details.go +++ b/opsi/update_pe_comanaged_exadata_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/update_pe_comanaged_host_insight_details.go b/opsi/update_pe_comanaged_host_insight_details.go index f22c706f72..31a0e09d3e 100644 --- a/opsi/update_pe_comanaged_host_insight_details.go +++ b/opsi/update_pe_comanaged_host_insight_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/ux_configuration_items_collection.go b/opsi/ux_configuration_items_collection.go index d23fe2d87b..9cabb0a7fb 100644 --- a/opsi/ux_configuration_items_collection.go +++ b/opsi/ux_configuration_items_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/vm_cluster_summary.go b/opsi/vm_cluster_summary.go index 328c1ba038..ff28c389de 100644 --- a/opsi/vm_cluster_summary.go +++ b/opsi/vm_cluster_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/warehouse_data_object_collection.go b/opsi/warehouse_data_object_collection.go index 1e22212545..b0c32dee8f 100644 --- a/opsi/warehouse_data_object_collection.go +++ b/opsi/warehouse_data_object_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/warehouse_data_object_details.go b/opsi/warehouse_data_object_details.go index 5b9071bb58..140cf8e858 100644 --- a/opsi/warehouse_data_object_details.go +++ b/opsi/warehouse_data_object_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/warehouse_data_object_summary.go b/opsi/warehouse_data_object_summary.go index 22528b1dde..4ce5327b7b 100644 --- a/opsi/warehouse_data_object_summary.go +++ b/opsi/warehouse_data_object_summary.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/warehouse_table_data_object_details.go b/opsi/warehouse_table_data_object_details.go index d7e28ee904..71d3107181 100644 --- a/opsi/warehouse_table_data_object_details.go +++ b/opsi/warehouse_table_data_object_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/warehouse_view_data_object_details.go b/opsi/warehouse_view_data_object_details.go index 3dd5021225..2ef46357a1 100644 --- a/opsi/warehouse_view_data_object_details.go +++ b/opsi/warehouse_view_data_object_details.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request.go b/opsi/work_request.go index cfe70d28e2..caa88dc52c 100644 --- a/opsi/work_request.go +++ b/opsi/work_request.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_collection.go b/opsi/work_request_collection.go index 9c267b5f4c..50386459b6 100644 --- a/opsi/work_request_collection.go +++ b/opsi/work_request_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_error.go b/opsi/work_request_error.go index f6183dc30e..e33f61b94e 100644 --- a/opsi/work_request_error.go +++ b/opsi/work_request_error.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_error_collection.go b/opsi/work_request_error_collection.go index 44b9c4774a..4293988dc3 100644 --- a/opsi/work_request_error_collection.go +++ b/opsi/work_request_error_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_log_entry.go b/opsi/work_request_log_entry.go index 15d3510d29..9098266917 100644 --- a/opsi/work_request_log_entry.go +++ b/opsi/work_request_log_entry.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_log_entry_collection.go b/opsi/work_request_log_entry_collection.go index 88b5ebb451..64ee16ac49 100644 --- a/opsi/work_request_log_entry_collection.go +++ b/opsi/work_request_log_entry_collection.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_resource.go b/opsi/work_request_resource.go index 92c036ed6e..ba056011cc 100644 --- a/opsi/work_request_resource.go +++ b/opsi/work_request_resource.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_request_resource_metadata_key.go b/opsi/work_request_resource_metadata_key.go index 14a464310d..6ff82c2bd7 100644 --- a/opsi/work_request_resource_metadata_key.go +++ b/opsi/work_request_resource_metadata_key.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi diff --git a/opsi/work_requests.go b/opsi/work_requests.go index c44c73c65a..5181caf58e 100644 --- a/opsi/work_requests.go +++ b/opsi/work_requests.go @@ -2,11 +2,11 @@ // 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. -// Operations Insights API +// Ops Insights API // -// Use the Operations Insights API to perform data extraction operations to obtain database +// Use the Ops Insights API to perform data extraction operations to obtain database // resource utilization, performance statistics, and reference information. For more information, -// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). +// see About Oracle Cloud Infrastructure Ops Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html). // package opsi @@ -17,7 +17,7 @@ import ( "strings" ) -// WorkRequests Logical grouping used for Operations Insights Work Request operations. +// WorkRequests Logical grouping used for Ops Insights Work Request operations. type WorkRequests struct { // OPSI Work Request Object.